File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
@ setlocal
2
+ @ REM 20161002 - Change to msvc140 build
3
+ @ set VCVERS = 14
4
+ @ set GENERATOR = Visual Studio %VCVERS% Win64
2
5
@ REM 20160324 - Change to relative, and use choice
3
6
@ set TMPPRJ = tidy
4
7
@ echo Build %TMPPRJ% project, in 64-bits
5
8
@ set TMPLOG = bldlog-1.txt
6
9
@ set BLDDIR = %CD%
7
10
@ set TMPROOT = ..\..\..
8
- @ set SET_BAT = %ProgramFiles(x86)% \Microsoft Visual Studio 10 .0\VC\vcvarsall.bat
11
+ @ set SET_BAT = %ProgramFiles(x86)% \Microsoft Visual Studio %VCVERS% .0\VC\vcvarsall.bat
9
12
@ if NOT EXIST " %SET_BAT% " goto NOBAT
10
13
@ REM if NOT EXIST %TMPROOT%\nul goto NOROOT
11
14
@ set TMPSRC = ..\..
42
45
@ REM ##########################################
43
46
@ REM set TMPINST=F:\Projects\software.x64
44
47
@ set TMPOPTS = -DCMAKE_INSTALL_PREFIX=%TMPINST%
45
- @ set TMPOPTS = %TMPOPTS% -G " Visual Studio 10 Win64 "
48
+ @ set TMPOPTS = %TMPOPTS% -G " %GENERATOR% "
46
49
@ REM set TMPOPTS=%TMPOPTS% -DTIDY_CONFIG_FILE="C:\MDOS\tidy5.cfg"
47
50
@ REM set TMPOPTS=%TMPOPTS% -DTIDY_USER_CONFIG_FILE="C:\MDOS\tidy5.cfg"
48
51
@ set TMPOPTS = %TMPOPTS% -DBUILD_SHARED_LIB:BOOL=OFF
You can’t perform that action at this time.
0 commit comments