From 3d3a0958fad475c6b0493ad85459e1c04ba4ba62 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 6 Dec 2019 17:37:35 +0000 Subject: C lib (#458) C library implemented with optimised axpy fucntions and gradient operator in c --- recipe/bld.bat | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipe/bld.bat (limited to 'recipe/bld.bat') diff --git a/recipe/bld.bat b/recipe/bld.bat new file mode 100644 index 0000000..af5ca40 --- /dev/null +++ b/recipe/bld.bat @@ -0,0 +1,15 @@ + +IF NOT DEFINED CIL_VERSION ( +ECHO CIL_VERSION Not Defined. +exit 1 +) + +ROBOCOPY /E "%RECIPE_DIR%\.." "%SRC_DIR%" /XD .git /XD Wrappers\Python\build + +mkdir "%SRC_DIR%\build_framework" + +cd "%SRC_DIR%\build_framework" +cmake -G "NMake Makefiles" %RECIPE_DIR%\..\ -DCONDA_BUILD=ON -DCMAKE_BUILD_TYPE="Release" -DLIBRARY_LIB=%CONDA_PREFIX%\lib -DLIBRARY_INC=%CONDA_PREFIX% -DCMAKE_INSTALL_PREFIX=%PREFIX% + +nmake install +if errorlevel 1 exit 1 -- cgit v1.2.3