Teach the add_custom_command and add_custom_target commands a new USES_TERMINAL option. Use it to tell the generator to give the command direct access to the terminal if possible.
6 lines
100 B
CMake
6 lines
100 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(NoArguments)
|
|
run_cmake(BadTargetName)
|
|
run_cmake(UsesTerminalNoCommand)
|