summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-02 12:02:14 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-02 12:02:24 (GMT)
commita432b1075c8808c6e4c925d3f4d4ce94c5477bab (patch)
treecbf85da9bdbfdd82e2e0fa6d210478840f82b2da /Source/cmMakefile.h
parentec7b5f21eef8bc0d6da729aa0f61ddccc7a06f3b (diff)
parent7ed8c9ebe33ccafc41ec9e096bf2884d617a0ebf (diff)
downloadCMake-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.h2
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