diff options
author | David Cole <david.cole@kitware.com> | 2012-03-02 16:47:42 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-03-02 16:47:42 (GMT) |
commit | 881dc355798cde77869f6eb3b1f09b2139265e3f (patch) | |
tree | 278fb474e439de9c9eeda65eea4cb5e290c9fe43 /Source/cmTarget.cxx | |
parent | fc495b79da5e1b0200c8f0407940d5a238b07630 (diff) | |
parent | 573fa3bf136e5c780d3dd7e2dc692d52b3eba96d (diff) | |
download | CMake-881dc355798cde77869f6eb3b1f09b2139265e3f.zip CMake-881dc355798cde77869f6eb3b1f09b2139265e3f.tar.gz CMake-881dc355798cde77869f6eb3b1f09b2139265e3f.tar.bz2 |
Merge topic 'factor-install-type'
573fa3b Factor cmInstallType out of cmTarget::TargetType
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 0c79b30..da99eb9 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -43,12 +43,6 @@ const char* cmTarget::GetTargetTypeName(TargetType targetType) return "UTILITY"; case cmTarget::GLOBAL_TARGET: return "GLOBAL_TARGET"; - case cmTarget::INSTALL_FILES: - return "INSTALL_FILES"; - case cmTarget::INSTALL_PROGRAMS: - return "INSTALL_PROGRAMS"; - case cmTarget::INSTALL_DIRECTORY: - return "INSTALL_DIRECTORY"; case cmTarget::UNKNOWN_LIBRARY: return "UNKNOWN_LIBRARY"; } @@ -1184,16 +1178,6 @@ void cmTarget::DefineProperties(cmake *cm) void cmTarget::SetType(TargetType type, const char* name) { this->Name = name; - if(type == cmTarget::INSTALL_FILES || - type == cmTarget::INSTALL_PROGRAMS || - type == cmTarget::INSTALL_DIRECTORY) - { - this->Makefile-> - IssueMessage(cmake::INTERNAL_ERROR, - "SetType called on cmTarget for INSTALL_FILES, " - "INSTALL_PROGRAMS, or INSTALL_DIRECTORY "); - return; - } // only add dependency information for library targets this->TargetTypeValue = type; if(this->TargetTypeValue >= STATIC_LIBRARY |