CMake/Tests/RunCMake/GeneratorToolset
Brad King 4fd5342956 CMake: Add -T option to choose a generator toolset
Reject the option by default.  It will be implemented on a per-generator
basis.  Pass the setting into try_compile project generation.  Add cache
entry CMAKE_GENERATOR_TOOLSET and associated variable documentation to
hold the value persistently.

Add a RunCMake.GeneratorToolset test to cover basic "-T" option cases.
Verify that CMAKE_GENERATOR_TOOLSET is empty without -T, that -T is
rejected when the generator doesn't support it, and that two -T options
are always rejected.
2013-02-07 10:53:19 -05:00
..
BadToolset-result.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
BadToolset-stderr.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
BadToolset.cmake CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
CMakeLists.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
NoToolset-result.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
NoToolset-stderr.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
NoToolset.cmake CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
RunCMakeTest.cmake CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
TwoToolsets-result.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
TwoToolsets-stderr.txt CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00
TwoToolsets.cmake CMake: Add -T option to choose a generator toolset 2013-02-07 10:53:19 -05:00