Updated to run on Windows.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-08 11:35:09 +01:00
parent 92713554a0
commit 510c46d2ad

View File

@ -1,19 +1,16 @@
# POCO_STATIC=1 - for static build rem usage
# POCO_UNBUNDLED - for no built-in version of libs rem build_cmake ( Debug | Release )
# CMAKE_INSTALL_PREFIX=path - for install path
rem -DPOCO_STATIC=1 - for static build
rem -DPOCO_UNBUNDLED - for no built-in version of libs
rem -DCMAKE_INSTALL_PREFIX=path - for install path
mkdir cmake-build mkdir cmake-build
cd cmake-build cd cmake-build
cmake ../. -DCMAKE_BUILD_TYPE=Debug -G"NMake Makefiles JOM" %1 %2 %3 %4 %5
jom /j3
jom install
del CMakeCache.txt del CMakeCache.txt
cmake ../. -DCMAKE_BUILD_TYPE=%1 -G"NMake Makefiles JOM" -DENABLE_TESTS=ON -DENABLE_SAMPLE=ON %2 %3 %4 %5
cmake ../. -DCMAKE_BUILD_TYPE=Release -G"NMake Makefiles JOM" %1 %2 %3 %4 %5 jom /i /j3
jom /j3 jom /i install
jom install
cd .. cd ..