Skip to content

Commit

Permalink
Enable builds on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ghisvail committed Jun 3, 2023
1 parent da3583d commit 169aa29
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions recipes/ants/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mkdir build
if errorlevel 1 exit 1
cd build
if errorlevel 1 exit 1

cmake -G Ninja ^
%CMAKE_ARGS% ^
-DCMAKE_INSTALL_LIBDIR:STRING=%LIBRARY_LIB% ^
-DCMAKE_INSTALL_PREFIX:STRING=%LIBRARY_PREFIX% ^
-DCMAKE_PREFIX_PATH:STRING=%LIBRARY_PREFIX% ^
-DBUILD_SHARED_LIBS:BOOL=ON ^
-DANTS_SUPERBUILD:BOOL=OFF ^
-DUSE_SYSTEM_ITK:BOOL=ON ^
%SRC_DIR%
if errorlevel 1 exit 1

cmake --build . --config RelWithDebInfo --parallel %CPU_COUNT% --target install
if errorlevel 1 exit 1

0 comments on commit 169aa29

Please sign in to comment.