Created
January 10, 2014 12:02
-
-
Save Zeex/8350810 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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