diff options
author | Brad King <brad.king@kitware.com> | 2001-07-31 15:29:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-31 15:29:21 (GMT) |
commit | cfa25e9e1a48938378c300dfbf5b33e62018f295 (patch) | |
tree | 146a67f93597b35e69c38255aaddbd0547b19f81 /Source/cmDSPWriter.cxx | |
parent | 489e91a1f7b1d5d9542cb965b47a44f99878c7a5 (diff) | |
download | CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.zip CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.tar.gz CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.tar.bz2 |
ENH: Added INSTALL_PROGRAMS command and corresponding support. This involved splitting cmTarget::INSTALL into INSTALL_FILES and INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds execute permission. The INSTALL_PROGRAMS commnad takes either a list of explicit names, or a regex. It will not expand source lists like the INSTALL_FILES command will.
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index eff7bf1..67f1890 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -114,13 +114,16 @@ void cmDSPWriter::OutputDSPFile() case cmTarget::UTILITY: this->SetBuildType(UTILITY, l->first.c_str()); break; - case cmTarget::INSTALL: + case cmTarget::INSTALL_FILES: + break; + case cmTarget::INSTALL_PROGRAMS: break; default: cmSystemTools::Error("Bad target type", l->first.c_str()); break; } - if (l->second.GetType() != cmTarget::INSTALL) + if ((l->second.GetType() != cmTarget::INSTALL_FILES) + && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS)) { this->CreateSingleDSP(l->first.c_str(),l->second); } |