0f1f1271e6
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_PLATFORM and associated variable documentation to hold the value persistently. Add a RunCMake.GeneratorPlatform test to cover basic use cases for the option. Verify that CMAKE_GENERATOR_PLATFORM is empty by default, and that it is rejected when the generator does not support a user setting.
5 lines
166 B
Plaintext
5 lines
166 B
Plaintext
CMake Error at NoPlatform.cmake:2 \(message\):
|
|
CMAKE_GENERATOR_PLATFORM is empty as expected.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|