diff options
author | Brad King <brad.king@kitware.com> | 2020-06-02 12:02:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-06-02 12:02:24 (GMT) |
commit | a432b1075c8808c6e4c925d3f4d4ce94c5477bab (patch) | |
tree | cbf85da9bdbfdd82e2e0fa6d210478840f82b2da /Source/cmMakefile.h | |
parent | ec7b5f21eef8bc0d6da729aa0f61ddccc7a06f3b (diff) | |
parent | 7ed8c9ebe33ccafc41ec9e096bf2884d617a0ebf (diff) | |
download | CMake-a432b1075c8808c6e4c925d3f4d4ce94c5477bab.zip CMake-a432b1075c8808c6e4c925d3f4d4ce94c5477bab.tar.gz CMake-a432b1075c8808c6e4c925d3f4d4ce94c5477bab.tar.bz2 |
Merge topic 'getdef-expand'
7ed8c9ebe3 cmMakefile: add GetDefExpandList() that splits value into std::vector
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4819
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 5e418a3..8dfa5b0 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -512,6 +512,8 @@ public: const std::string& GetSafeDefinition(const std::string&) const; const std::string& GetRequiredDefinition(const std::string& name) const; bool IsDefinitionSet(const std::string&) const; + bool GetDefExpandList(const std::string& name, std::vector<std::string>& out, + bool emptyArgs = false) const; /** * Get the list of all variables in the current space. If argument * cacheonly is specified and is greater than 0, then only cache |