Files
poco/build_cmake.bat
2012-02-09 12:08:46 +00:00

20 lines
392 B
Batchfile

REM POCO_STATIC=1 - for static build
REM POCO_UNBUNDLED - for no built-in version of libs
REM CMAKE_INSTALL_PREFIX=path - for install path
RMDIR cmake-build
mkdir cmake-build
cd cmake-build
cmake ../. -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Debug %1 %2 %3 %4 %5
nmake
nmake install
del CMakeCache.txt
cmake ../. -G"NMake Makefiles" %1 %2 %3 %4 %5
nmake
nmake install