Skip to content

Instantly share code, notes, and snippets.

@ousttrue
Created July 18, 2017 15:01
Show Gist options
  • Save ousttrue/4b4eecd8c1df3a0711051ac246b414fa to your computer and use it in GitHub Desktop.
Save ousttrue/4b4eecd8c1df3a0711051ac246b414fa to your computer and use it in GitHub Desktop.
vs2015向けのbat
set CMAKE="%VCPKG_DIR%\downloads\cmake-3.8.0-win32-x86\bin\cmake.exe"
set BUILD_DIR="build_vs2015_64"
if not exist %BUILD_DIR% mkdir %BUILD_DIR%
pushd %BUILD_DIR%
%CMAKE% -D CMAKE_INSTALL_PREFIX=%VCPKG_DIR%/installed/x64-windows -G "Visual Studio 14 2015 Win64" ..
popd
set CMAKE="%VCPKG_DIR%\downloads\cmake-3.8.0-win32-x86\bin\cmake.exe"
set MSBUILD="C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe"
set BUILD_DIR="build_vs2015_64_alembic"
if not exist %BUILD_DIR% mkdir %BUILD_DIR%
pushd %BUILD_DIR%
%CMAKE% -D CMAKE_INSTALL_PREFIX=%VCPKG_DIR%/installed/x64-windows -D
USE_HDF5=ON -D HDF5_ROOT=%VCPKG_DIR%/installed/x64-windows -G "Visual
Studio 14 2015 Win64" ../alembic-1.7.1
%MSBUILD% /p:Configuration=Release /t:Build /m INSTALL.vcxproj
%MSBUILD% /p:Configuration=Debug /t:Build /m INSTALL.vcxproj
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment