diff options
author | Brad King <brad.king@kitware.com> | 2019-05-15 13:20:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-15 13:21:08 (GMT) |
commit | 0064edf4173fad72749da2c66753387e9a671223 (patch) | |
tree | ed3b08a0ecf709ca9281cdea448945bcba957a01 /Source/cmCustomCommand.h | |
parent | ac0411f1662f64fe1320e22e5a8906b8a40d6677 (diff) | |
parent | 9f76961de87d8911d13867d469c38087e47a0b60 (diff) | |
download | CMake-0064edf4173fad72749da2c66753387e9a671223.zip CMake-0064edf4173fad72749da2c66753387e9a671223.tar.gz CMake-0064edf4173fad72749da2c66753387e9a671223.tar.bz2 |
Merge topic 'ninja-pool-custom-command'
9f76961de8 Support job pools in custom commands and targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3308
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r-- | Source/cmCustomCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index 50f15a4..9a6f239 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -89,6 +89,10 @@ public: const std::string& GetDepfile() const; void SetDepfile(const std::string& depfile); + /** Set/Get the job_pool (used by the Ninja generator) */ + const std::string& GetJobPool() const; + void SetJobPool(const std::string& job_pool); + private: std::vector<std::string> Outputs; std::vector<std::string> Byproducts; @@ -99,6 +103,7 @@ private: std::string Comment; std::string WorkingDirectory; std::string Depfile; + std::string JobPool; bool HaveComment = false; bool EscapeAllowMakeVars = false; bool EscapeOldStyle = true; |