diff options
author | Brad King <brad.king@kitware.com> | 2020-09-03 13:17:58 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-09-03 13:18:05 (GMT) |
commit | ca5babfd7a1da8e32f927ad086fdd91c2b09853b (patch) | |
tree | 23619c551a1b4c24ff228f98a3503b64a189fb32 /Source/cmMakefile.h | |
parent | 85e52ea704e13bbf932cd65c225b82f9b945e071 (diff) | |
parent | 11425041f04fd0945480b8f9e9933d1549b93981 (diff) | |
download | CMake-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.h | 3 |
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; |