File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ # have to use Visual Studio 2017 for now
2
+ # 2019 version doesn't have compiler tools for older versions installed (on Appveyor)
1
3
image : Visual Studio 2017
2
4
3
5
clone_folder : c:\projects\marching_cubes
@@ -8,6 +10,9 @@ environment:
8
10
MINICONDA : C:\Miniconda36-x64
9
11
10
12
install :
13
+ - >
14
+ "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"
15
+ x64 -vcvars_ver=14.1
11
16
- set DEV_PREFIX=%MINICONDA%/envs/%ENV_NAME%
12
17
- " set PATH=%MINICONDA%;%MINICONDA%\\ Scripts;%PATH%"
13
18
- conda config --set always_yes yes --set changeps1 no
Original file line number Diff line number Diff line change @@ -3,15 +3,16 @@ cd build
3
3
4
4
set CONFIGURATION = Release
5
5
6
- cmake .. -G " %CMAKE_GENERATOR% " ^
6
+ cmake .. -G " NMake Makefiles" ^
7
+ -DCMAKE_BUILD_TYPE=%CONFIGURATION% ^
7
8
-DCMAKE_PREFIX_PATH=" %LIBRARY_PREFIX% " ^
8
9
-DCMAKE_INSTALL_PREFIX=" %LIBRARY_PREFIX% " ^
9
10
-DPYTHON_EXECUTABLE=" %PYTHON% "
10
11
11
12
if errorlevel 1 exit 1
12
13
13
- cmake --build . --target ALL_BUILD --config %CONFIGURATION%
14
+ nmake all
14
15
if errorlevel 1 exit 1
15
16
16
- cmake --build . --target INSTALL --config %CONFIGURATION%
17
+ nmake install
17
18
if errorlevel 1 exit 1
You can’t perform that action at this time.
0 commit comments