Lines Matching full:cmake
31 @if not "!options!"=="!options:/? =!" set usage="Convenience script to build %project% with CMake"
118 @call :log 2 "This script builds the project using CMake"
188 :generate - Uses CMake to generate the build files
195 @call :log 0 "Generating CMake files for %generator%"
196 @call :cmake cmake_executable
199 @call :log 0 "Need CMake to create the build files"
209 @set output=%temp%\cmake-%iso8601%.log
219 @call :log 0 "Failed to generate build files with CMake"
280 @call :cmake cmake_executable
283 @call :log 0 "Need CMake to install the built files"
290 -P "%build_path%/cmake_install.cmake" ^
526 :find_cmake - Finds cmake on the command line or in the registry
527 :: %1 - the cmake file path
532 @call :log 6 "Finding CMake"
534 @call :find_in_path cmake_executable cmake.exe
541 @reg query "%%l\%%m\Kitware\CMake %%i.%%j.%%k" /ve > nul 2>nul
543 @for /f "skip=2 tokens=2,*" %%a in ('reg query "%%l\%%m\Kitware\CMake %%i.%%j.%%k" /ve') do @(
544 @if exist "%%b\bin\cmake.exe" (
545 @set "cmake_executable=%%b\bin\cmake.exe"
552 @call :log 0 "Failed to find cmake"
558 :cmake - Finds cmake and installs it if necessary label
559 :: %1 - the cmake file path
564 @call :log 6 "Checking for CMake"
566 @call :find_cmake cmake_executable cmake.exe
570 @call :install_nsis cmake http://www.cmake.org/files/v%version:~0,3%/cmake-%version%-win32-x86.exe …
573 call :log 0 "Failed to install cmake"
576 @call :find_cmake cmake_executable cmake.exe
579 @call :log 0 "Failed to check for cmake"