This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
92b8b1fc3d
CMake
/
Tests
/
RunCMake
/
GeneratorPlatform
/
TwoPlatforms.cmake
2 lines
51 B
CMake
Raw
Normal View
History
Unescape
Escape
cmake: Add -A option to specify a generator platform Define the 'cmake -A' option to set CMAKE_GENERATOR_PLATFORM without having to spell out the whole variable name. We choose the name '-A' for "platform" because '-P' is already taken, and in the common use case the "platform" is actually an architecture (e.g. x64). Teach the RunCMake test infrastructure to use -A to pass the generator platform. Extend the RunCMake.GeneratorPlatform test with a case to verify that the -A option cannot be repeated.
2014-09-12 17:55:06 +04:00
message
(
FATAL_ERROR
"This should not be reached!"
)