diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-08 20:00:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-08 20:18:40 (GMT) |
commit | 8fc53c3ce89e76a4e5cf1968307c513041e9a7b7 (patch) | |
tree | 13aaf9e297bb019868a32a4f482bd4360f934a9a /Source/cmGetDirectoryPropertyCommand.h | |
parent | d17aa60659a1a69f9101c61a149eca5842291226 (diff) | |
download | CMake-8fc53c3ce89e76a4e5cf1968307c513041e9a7b7.zip CMake-8fc53c3ce89e76a4e5cf1968307c513041e9a7b7.tar.gz CMake-8fc53c3ce89e76a4e5cf1968307c513041e9a7b7.tar.bz2 |
cmGetDirectoryPropertyCommand: Extract StoreResult method.
Diffstat (limited to 'Source/cmGetDirectoryPropertyCommand.h')
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGetDirectoryPropertyCommand.h b/Source/cmGetDirectoryPropertyCommand.h index 6c5750a..f418886 100644 --- a/Source/cmGetDirectoryPropertyCommand.h +++ b/Source/cmGetDirectoryPropertyCommand.h @@ -40,8 +40,9 @@ public: virtual std::string GetName() const { return "get_directory_property";} cmTypeMacro(cmGetDirectoryPropertyCommand, cmCommand); -}; - +private: + void StoreResult(const std::string& variable, const char* prop); +}; #endif |