CMake/Tests/RunCMake/build_command
Brad King 4ac75fdfe6 Prefer CMAKE_MAKE_PROGRAM over CMAKE_BUILD_TOOL (#14548)
Historically these were both added for the Makefile and Visual Studio
generators, respectively.  Later the VS generators started using the
CMAKE_MAKE_PROGRAM cache entry to find the IDE build tool, and the
CMAKE_BUILD_TOOL was simply set as an alias.

Fix the documentation to explain that CMAKE_MAKE_PROGRAM is the modern
variable and that CMAKE_BUILD_TOOL is the compatibility alias, not the
other way around.  Replace uses of CMAKE_BUILD_TOOL with
CMAKE_MAKE_PROGRAM in CMake-provided modules.  Nothing needs to lookup
CMAKE_BUILD_TOOL in the cache, so simply set it as a normal variable.
2013-11-18 08:26:23 -05:00
..
BeforeProject-stderr.txt build_command: Return a "cmake --build" command-line 2013-11-15 14:38:18 -05:00
BeforeProject.cmake build_command: Return a "cmake --build" command-line 2013-11-15 14:38:18 -05:00
CMakeLists.txt Cygwin: Avoid legacy warnings in RunCMake.* tests 2013-08-13 09:50:15 -04:00
ErrorsCommon.cmake Prefer CMAKE_MAKE_PROGRAM over CMAKE_BUILD_TOOL (#14548) 2013-11-18 08:26:23 -05:00
ErrorsOFF-stderr.txt
ErrorsOFF-stdout.txt
ErrorsOFF.cmake Refactor RunCMake.build_command test to allow more cases 2013-03-12 18:09:22 -04:00
ErrorsON-result.txt
ErrorsON-stderr.txt Refactor RunCMake.build_command test to allow more cases 2013-03-12 18:09:22 -04:00
ErrorsON-stdout.txt
ErrorsON.cmake Refactor RunCMake.build_command test to allow more cases 2013-03-12 18:09:22 -04:00
RunCMakeTest.cmake build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005) 2013-03-12 18:17:40 -04:00