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