diff options
author | Brad King <brad.king@kitware.com> | 2014-11-17 14:40:56 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-11-17 14:40:56 (GMT) |
commit | 444f61e044bb2943ccde07e42972d9b2720acd4f (patch) | |
tree | b258e19b457d7dd92bbf4d849ae3de4db2903aee /Source/cmCustomCommand.h | |
parent | 033ed9a5942e789c11130c325db487831dc417a9 (diff) | |
parent | 2d75d7e56bc00c9abe51d39c4306084b24fe8cd5 (diff) | |
download | CMake-444f61e044bb2943ccde07e42972d9b2720acd4f.zip CMake-444f61e044bb2943ccde07e42972d9b2720acd4f.tar.gz CMake-444f61e044bb2943ccde07e42972d9b2720acd4f.tar.bz2 |
Merge topic 'console-pool'
2d75d7e5 Help: Add notes for topic 'console-pool'
f42d86f0 Ninja: Implement USES_TERMINAL using the console pool if available
f281ae01 Ninja: Remove unused declaration
d5eae556 Ninja: factor out the test for console pool support
4d1fedf4 Give the interactive cache editor the USES_TERMINAL property
fe5d6e8c Add USES_TERMINAL option for custom commands
ad6ee426 Rename doing_verbatim to doing_nothing
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r-- | Source/cmCustomCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index 21dbefb..283a0e4 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -79,6 +79,11 @@ public: void AppendImplicitDepends(ImplicitDependsList const&); ImplicitDependsList const& GetImplicitDepends() const; + /** Set/Get whether this custom command should be given access to the + real console (if possible). */ + bool GetUsesTerminal() const; + void SetUsesTerminal(bool b); + private: std::vector<std::string> Outputs; std::vector<std::string> Depends; @@ -90,6 +95,7 @@ private: bool EscapeOldStyle; cmListFileBacktrace Backtrace; ImplicitDependsList ImplicitDepends; + bool UsesTerminal; }; #endif |