forked from OpenSourceRisk/ORE-SWIG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunCmakeVS.cmd
More file actions
10 lines (10 loc) · 827 Bytes
/
runCmakeVS.cmd
File metadata and controls
10 lines (10 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
mkdir build
rem build Python Swig interfaces VS 2019
cmake -G "Visual Studio 16 2019" -A x64 -DSWIG_DIR=C:\dev\swigwin\Lib -DSWIG_EXECUTABLE=C:\dev\swigwin\swig.exe -DORE:PATHNAME=C:\dev\ORE\master -DBOOST_ROOT=C:\dev\boost -S OREAnalytics-SWIG/Python -B build
rem build Java Swig interfaces VS 2019
rem cmake -G "Visual Studio 16 2019" -A x64 -DSWIG_DIR=C:\dev\swigwin\Lib -DSWIG_EXECUTABLE=C:\dev\swigwin\swig.exe -DORE:PATHNAME=C:\dev\ORE\master -DBOOST_ROOT=C:\dev\boost -S OREAnalytics-SWIG/Java -B build
rem build Java Swig interfaces VS 2017
rem cmake -G "Visual Studio 15 2017" -A x64 -DSWIG_DIR=C:\dev\swigwin\Lib -DSWIG_EXECUTABLE=C:\dev\swigwin\swig.exe -DORE:PATHNAME=C:\dev\ORE\master -DBOOST_ROOT=C:\dev\boost -S OREAnalytics-SWIG/Java -B build
rem build executables
cmake --build build -v --config Release
pause