Skip to content

Instantly share code, notes, and snippets.

@Zeex
Created January 10, 2014 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zeex/8350810 to your computer and use it in GitHub Desktop.
Save Zeex/8350810 to your computer and use it in GitHub Desktop.
@echo off
set CMAKE_HOME="%ProgramFiles%\CMake 2.8\"
if exist %CMAKE_HOME% ( goto :cmake_found )
set CMAKE_HOME="%ProgramFiles(x86)%\CMake 2.8\"
if exist %CMAKE_HOME% ( goto :cmake_found )
echo Could not find CMake
goto :exit
:cmake_found:
echo Found CMake: %CMAKE_HOME:"=%
call "%CMAKE_HOME:"=%\bin\cmake.exe" ..\..\ -DBUILD_TESTING=OFF
:exit:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment