summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-03 13:17:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-03 13:18:05 (GMT)
commitca5babfd7a1da8e32f927ad086fdd91c2b09853b (patch)
tree23619c551a1b4c24ff228f98a3503b64a189fb32 /Source/cmMakefile.h
parent85e52ea704e13bbf932cd65c225b82f9b945e071 (diff)
parent11425041f04fd0945480b8f9e9933d1549b93981 (diff)
downloadCMake-ca5babfd7a1da8e32f927ad086fdd91c2b09853b.zip
CMake-ca5babfd7a1da8e32f927ad086fdd91c2b09853b.tar.gz
CMake-ca5babfd7a1da8e32f927ad086fdd91c2b09853b.tar.bz2
Merge topic 'getdef'
11425041f0 cmMakefile::GetDefinition: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5179
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 69894b1..350f59d 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -515,8 +515,7 @@ public:
* If the variable is not found in this makefile instance, the
* cache is then queried.
*/
- const char* GetDefinition(const std::string&) const;
- const std::string* GetDef(const std::string&) const;
+ cmProp GetDefinition(const std::string&) const;
const std::string& GetSafeDefinition(const std::string&) const;
const std::string& GetRequiredDefinition(const std::string& name) const;
bool IsDefinitionSet(const std::string&) const;