master
/ miniconda3 / pkgs / libssh2-1.10.0-hdbd6064_2 / info / recipe / bld.bat

bld.bat @a663dc1 raw · history · blame

set PATH=%PREFIX%\cmake-bin\bin;%PATH%

set CFLAGS=
set CXXFLAGS=

mkdir build
pushd build
  cmake .. -G "%CMAKE_GENERATOR%"                     ^
           -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX%  ^
           -DCMAKE_BUILD_TYPE=Release               ^
           -DBUILD_SHARED_LIBS=ON
  cmake --build . --config Release --target INSTALL
popd