mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 04:15:11 +00:00
tools: Only create solutions for Visual Studio 2017 (Windows)
This commit is contained in:
parent
fc78bd83a6
commit
118cd2c6d8
1 changed files with 5 additions and 24 deletions
|
@ -8,34 +8,14 @@ SET "DEPSPATH=%CD%/deps/obs"
|
||||||
:: Compilers
|
:: Compilers
|
||||||
SET COMPILER#=0
|
SET COMPILER#=0
|
||||||
SET /A COMPILER#=COMPILER#+1
|
SET /A COMPILER#=COMPILER#+1
|
||||||
SET "COMPILER[%COMPILER#%]=Visual Studio 12 2013"
|
|
||||||
SET "DISTRIB[%COMPILER#%]=%CD%/vs-2013-distrib"
|
|
||||||
SET "PATH[%COMPILER#%]=%CD%/vs-2013-32"
|
|
||||||
SET "TOOLSET[%COMPILER#%]="
|
|
||||||
SET /A COMPILER#=COMPILER#+1
|
|
||||||
SET "COMPILER[%COMPILER#%]=Visual Studio 12 2013 Win64"
|
|
||||||
SET "DISTRIB[%COMPILER#%]=%CD%/vs-2013-distrib"
|
|
||||||
SET "PATH[%COMPILER#%]=%CD%/vs-2013-64"
|
|
||||||
SET "TOOLSET[%COMPILER#%]=host=x64"
|
|
||||||
SET /A COMPILER#=COMPILER#+1
|
|
||||||
SET "COMPILER[%COMPILER#%]=Visual Studio 14 2015"
|
|
||||||
SET "DISTRIB[%COMPILER#%]=%CD%/vs-2015-distrib"
|
|
||||||
SET "PATH[%COMPILER#%]=%CD%/vs-2015-32"
|
|
||||||
SET "TOOLSET[%COMPILER#%]="
|
|
||||||
SET /A COMPILER#=COMPILER#+1
|
|
||||||
SET "COMPILER[%COMPILER#%]=Visual Studio 14 2015 Win64"
|
|
||||||
SET "DISTRIB[%COMPILER#%]=%CD%/vs-2015-distrib"
|
|
||||||
SET "PATH[%COMPILER#%]=%CD%/vs-2015-64"
|
|
||||||
SET "TOOLSET[%COMPILER#%]=host=x64"
|
|
||||||
SET /A COMPILER#=COMPILER#+1
|
|
||||||
SET "COMPILER[%COMPILER#%]=Visual Studio 15 2017"
|
SET "COMPILER[%COMPILER#%]=Visual Studio 15 2017"
|
||||||
SET "DISTRIB[%COMPILER#%]=%CD%/vs-2017-distrib"
|
SET "DISTRIB[%COMPILER#%]=%CD%/vs2017-distrib"
|
||||||
SET "PATH[%COMPILER#%]=%CD%/vs-2017-32"
|
SET "PATH[%COMPILER#%]=%CD%/vs2017-32"
|
||||||
SET "TOOLSET[%COMPILER#%]="
|
SET "TOOLSET[%COMPILER#%]="
|
||||||
SET /A COMPILER#=COMPILER#+1
|
SET /A COMPILER#=COMPILER#+1
|
||||||
SET "COMPILER[%COMPILER#%]=Visual Studio 15 2017 Win64"
|
SET "COMPILER[%COMPILER#%]=Visual Studio 15 2017 Win64"
|
||||||
SET "DISTRIB[%COMPILER#%]=%CD%/vs-2017-distrib"
|
SET "DISTRIB[%COMPILER#%]=%CD%/vs2017-distrib"
|
||||||
SET "PATH[%COMPILER#%]=%CD%/vs-2017-64"
|
SET "PATH[%COMPILER#%]=%CD%/vs2017-64"
|
||||||
SET "TOOLSET[%COMPILER#%]=host=x64"
|
SET "TOOLSET[%COMPILER#%]=host=x64"
|
||||||
|
|
||||||
FOR /L %%i IN (1,1,%COMPILER#%) DO (
|
FOR /L %%i IN (1,1,%COMPILER#%) DO (
|
||||||
|
@ -45,3 +25,4 @@ FOR /L %%i IN (1,1,%COMPILER#%) DO (
|
||||||
cmake -G "!COMPILER[%%i]!" -T "!TOOLSET[%%i]!" --target INSTALL -DPATH_OBSStudio="%DEPSPATH%" -DINSTALL_DIR="!DISTRIB[COMPILER[%%i]!" ../../
|
cmake -G "!COMPILER[%%i]!" -T "!TOOLSET[%%i]!" --target INSTALL -DPATH_OBSStudio="%DEPSPATH%" -DINSTALL_DIR="!DISTRIB[COMPILER[%%i]!" ../../
|
||||||
popd
|
popd
|
||||||
)
|
)
|
||||||
|
PAUSE
|
Loading…
Reference in a new issue