build_cmake.cmd 389 B

12345678910111213141516171819
  1. # POCO_STATIC=1 - for static build
  2. # POCO_UNBUNDLED - for no built-in version of libs
  3. # CMAKE_INSTALL_PREFIX=path - for install path
  4. mkdir cmake-build
  5. cd cmake-build
  6. cmake ../. -DCMAKE_BUILD_TYPE=Debug -G"NMake Makefiles JOM" %1 %2 %3 %4 %5
  7. jom /j3
  8. jom install
  9. del CMakeCache.txt
  10. cmake ../. -DCMAKE_BUILD_TYPE=Release -G"NMake Makefiles JOM" %1 %2 %3 %4 %5
  11. jom /j3
  12. jom install
  13. cd ..