• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@echo on
2rem This scripts configures build environment and runs CMake.
3rem Use it instead of running CMake directly when building with
4rem the Microsoft SDK toolchain rather than Visual Studio.
5rem It is used in the same way as cmake, for example:
6rem
7rem   run-cmake -G "Visual Studio 10 Win64" .
8
9for /F "delims=" %%i IN ('cmake "-DPRINT_PATH=1" -P %~dp0/FindSetEnv.cmake') DO set setenv=%%i
10if NOT "%setenv%" == "" call "%setenv%"
11cmake %*
12