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.
10 lines
203 B
CMake
10 lines
203 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(AppendNoOutput)
|
|
run_cmake(AppendNotOutput)
|
|
run_cmake(BadArgument)
|
|
run_cmake(NoArguments)
|
|
run_cmake(NoOutputOrTarget)
|
|
run_cmake(OutputAndTarget)
|
|
run_cmake(SourceUsesTerminal)
|