2017-11-05 13:34:53 +00:00
|
|
|
mkdir build
|
|
|
|
mkdir build\32
|
|
|
|
mkdir build\64
|
|
|
|
|
|
|
|
IF "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" (
|
|
|
|
cd build\32
|
2017-12-14 02:22:23 +00:00
|
|
|
cmake -G "Visual Studio 12 2013" --target INSTALL -DPATH_OBSStudio="%CD%/deps/obs" -DINSTALL_DIR="../distrib" -DPACKAGE_SUFFIX=".%APPVEYOR_BUILD_VERSION%" -DPACKAGE_PREFIX="" ../..
|
2017-11-05 13:34:53 +00:00
|
|
|
cd ..\64
|
2017-12-14 02:22:23 +00:00
|
|
|
cmake -G "Visual Studio 12 2013 Win64" -T host=x64 --target INSTALL -DPATH_OBSStudio="%CD%/deps/obs" -DINSTALL_DIR="../distrib" -DPACKAGE_SUFFIX=".%APPVEYOR_BUILD_VERSION%" -DPACKAGE_PREFIX="" ../..
|
2017-11-05 13:34:53 +00:00
|
|
|
) ELSE IF "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (
|
|
|
|
cd build\32
|
2017-12-14 02:22:23 +00:00
|
|
|
cmake -G "Visual Studio 14 2015" --target INSTALL -DPATH_OBSStudio="%CD%/deps/obs" -DINSTALL_DIR="../distrib" -DPACKAGE_SUFFIX=".%APPVEYOR_BUILD_VERSION%" -DPACKAGE_PREFIX="vs2015_" ../..
|
2017-11-05 13:34:53 +00:00
|
|
|
cd ..\64
|
2017-12-14 02:22:23 +00:00
|
|
|
cmake -G "Visual Studio 14 2015 Win64" -T host=x64 --target INSTALL -DPATH_OBSStudio="%CD%/deps/obs" -DINSTALL_DIR="../distrib" -DPACKAGE_SUFFIX=".%APPVEYOR_BUILD_VERSION%" -DPACKAGE_PREFIX="vs2015_" ../..
|
2017-11-05 13:34:53 +00:00
|
|
|
) ELSE IF "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (
|
|
|
|
cd build\32
|
2017-12-14 02:22:23 +00:00
|
|
|
cmake -G "Visual Studio 15 2017" --target INSTALL -DPATH_OBSStudio="%CD%/deps/obs" -DINSTALL_DIR="../distrib" -DPACKAGE_SUFFIX=".%APPVEYOR_BUILD_VERSION%" -DPACKAGE_PREFIX="vs2017_" ../..
|
2017-11-05 13:34:53 +00:00
|
|
|
cd ..\64
|
2017-12-14 02:22:23 +00:00
|
|
|
cmake -G "Visual Studio 15 2017 Win64" -T host=x64 --target INSTALL -DPATH_OBSStudio="%CD%/deps/obs" -DINSTALL_DIR="../distrib" -DPACKAGE_SUFFIX=".%APPVEYOR_BUILD_VERSION%" -DPACKAGE_PREFIX="vs2017_" ../..
|
2017-11-05 13:34:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
cd ..\..
|