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. |
||
---|---|---|
.. | ||
BadTargetName-result.txt | ||
BadTargetName-stderr.txt | ||
BadTargetName.cmake | ||
CMakeLists.txt | ||
NoArguments-result.txt | ||
NoArguments-stderr.txt | ||
NoArguments.cmake | ||
RunCMakeTest.cmake | ||
UsesTerminalNoCommand-result.txt | ||
UsesTerminalNoCommand-stderr.txt | ||
UsesTerminalNoCommand.cmake |