mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +00:00
[CONFIGURE] Add -VS_VER flag (#86)
This flag can override the detected version of VS. Usage example: `configure.cmd vssolution -VS_VER 14`
This commit is contained in:
parent
0add5d0a79
commit
b46d3ce5e9
1 changed files with 5 additions and 0 deletions
|
@ -109,6 +109,11 @@ REM Parse command line parameters
|
|||
set CMAKE_GENERATOR="NMake Makefiles"
|
||||
) else if /I "%1" == "VSSolution" (
|
||||
set VS_SOLUTION=1
|
||||
REM explicitly set VS version for project generator
|
||||
if /I "%2" == "-VS_VER" (
|
||||
set VS_VERSION=%3
|
||||
echo Visual Studio Environment set to !BUILD_ENVIRONMENT!!VS_VERSION!-!ARCH!
|
||||
)
|
||||
if "!VS_VERSION!" == "9" (
|
||||
if "!ARCH!" == "amd64" (
|
||||
set CMAKE_GENERATOR="Visual Studio 9 2008 Win64"
|
||||
|
|
Loading…
Reference in a new issue