diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-22 22:47:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-26 21:02:13 (GMT) |
commit | cf69630e510a5c639a93a99b315fcefea9688935 (patch) | |
tree | d8f6fbb0bd8fde15afb3a46eb0639031c8febd16 /Source/cmTarget.cxx | |
parent | 3f8aa62bfb339dded326b0bc36016134a3dc845b (diff) | |
download | CMake-cf69630e510a5c639a93a99b315fcefea9688935.zip CMake-cf69630e510a5c639a93a99b315fcefea9688935.tar.gz CMake-cf69630e510a5c639a93a99b315fcefea9688935.tar.bz2 |
cmGeneratorTarget: Move GetFrameworkVersion from cmTarget
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index e056469..0c0cf8e 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -2048,25 +2048,6 @@ void cmTarget::SetPropertyDefault(const std::string& property, } } -//---------------------------------------------------------------------------- -std::string cmTarget::GetFrameworkVersion() const -{ - assert(this->GetType() != cmState::INTERFACE_LIBRARY); - - if(const char* fversion = this->GetProperty("FRAMEWORK_VERSION")) - { - return fversion; - } - else if(const char* tversion = this->GetProperty("VERSION")) - { - return tversion; - } - else - { - return "A"; - } -} - bool cmTarget::GetMappedConfig(std::string const& desired_config, const char** loc, const char** imp, |