https://github.com/Kitware/CMake
Revision 44e2923f332653f6b1aad610b314a9edbdf6bf24 authored by Brad King on 03 June 2014, 15:36:25 UTC, committed by Brad King on 03 June 2014, 15:52:19 UTC
If we fail to create the generator named by CMAKE_GENERATOR, exit with an error message instead of crashing. While at it, fix the wording of the error message when CMAKE_GENERATOR is not set. Extend the RunCMake.CommandLine test with cases covering the "cmake --build" option when the named directory does not provide a CMakeCache.txt with a valid CMAKE_GENERATOR.
1 parent cbc9a95
Tip revision: 44e2923f332653f6b1aad610b314a9edbdf6bf24 authored by Brad King on 03 June 2014, 15:36:25 UTC
cmake: Fix --build crash on bad CMAKE_GENERATOR in cache
cmake: Fix --build crash on bad CMAKE_GENERATOR in cache
Tip revision: 44e2923
File | Mode | Size |
---|---|---|
Auxiliary | ||
Help | ||
Licenses | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 569 bytes |
.hooks-config.bash | -rw-r--r-- | 866 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.1 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.7 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 21.8 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CONTRIBUTING.rst | -rw-r--r-- | 1001 bytes |
CTestConfig.cmake | -rw-r--r-- | 1.0 KB |
CTestCustom.cmake.in | -rw-r--r-- | 3.3 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
CompileFlags.cmake | -rw-r--r-- | 3.1 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
README.rst | -rw-r--r-- | 2.5 KB |
bootstrap | -rwxr-xr-x | 56.0 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 796 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...