diff options
author | Daniil Kazantsev <dkazanc@hotmail.com> | 2018-04-09 13:41:06 +0100 |
---|---|---|
committer | Daniil Kazantsev <dkazanc@hotmail.com> | 2018-04-09 13:41:06 +0100 |
commit | b9fafd363d1d181a4a8b42ea4038924097207913 (patch) | |
tree | cdc7c4469e210a52cb416b2747ca2d954da073cc /recipes/regularisers/bld.bat | |
parent | a5b5872b76bf00023a7e7cee97e028003ccbc45e (diff) | |
download | regularization-b9fafd363d1d181a4a8b42ea4038924097207913.tar.gz regularization-b9fafd363d1d181a4a8b42ea4038924097207913.tar.bz2 regularization-b9fafd363d1d181a4a8b42ea4038924097207913.tar.xz regularization-b9fafd363d1d181a4a8b42ea4038924097207913.zip |
major renaming and new 3D demos for Matlab
Diffstat (limited to 'recipes/regularisers/bld.bat')
-rw-r--r-- | recipes/regularisers/bld.bat | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/regularisers/bld.bat b/recipes/regularisers/bld.bat new file mode 100644 index 0000000..6f2f7e7 --- /dev/null +++ b/recipes/regularisers/bld.bat @@ -0,0 +1,21 @@ +IF NOT DEFINED CIL_VERSION ( +ECHO CIL_VERSION Not Defined. +exit 1 +) + +mkdir "%SRC_DIR%\build" +ROBOCOPY /E "%RECIPE_DIR%\..\..\Core" "%SRC_DIR%\build" +::ROBOCOPY /E "%RECIPE_DIR%\..\..\Wrappers\python\src" "%SRC_DIR%\build\module" +cd "%SRC_DIR%\build" + +echo "we should be in %SRC_DIR%\build" + +cmake -G "NMake Makefiles" -DLIBRARY_LIB="%CONDA_PREFIX%\lib" -DLIBRARY_INC="%CONDA_PREFIX%" -DCMAKE_INSTALL_PREFIX="%PREFIX%\Library" "%SRC_DIR%\build" + +::-DBOOST_LIBRARYDIR="%CONDA_PREFIX%\Library\lib" -DBOOST_INCLUDEDIR="%CONDA_PREFIX%\Library\include" -DBOOST_ROOT="%CONDA_PREFIX%\Library\lib" + +:: Build C library +nmake install +if errorlevel 1 exit 1 + +:: Install step |