diff --git a/recipes/ants/bld.bat b/recipes/ants/bld.bat new file mode 100644 index 0000000000000..47b89c1045fae --- /dev/null +++ b/recipes/ants/bld.bat @@ -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 diff --git a/recipes/ants/meta.yaml b/recipes/ants/meta.yaml index ba0cd9466f2ef..fc74d32b80e45 100644 --- a/recipes/ants/meta.yaml +++ b/recipes/ants/meta.yaml @@ -11,7 +11,6 @@ source: build: number: 0 - skip: true # [win] requirements: build: