summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-07-31 15:29:21 (GMT)
committerBrad King <brad.king@kitware.com>2001-07-31 15:29:21 (GMT)
commitcfa25e9e1a48938378c300dfbf5b33e62018f295 (patch)
tree146a67f93597b35e69c38255aaddbd0547b19f81 /Source/cmDSWWriter.cxx
parent489e91a1f7b1d5d9542cb965b47a44f99878c7a5 (diff)
downloadCMake-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/cmDSWWriter.cxx')
-rw-r--r--Source/cmDSWWriter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx
index 3662f28..92cc9d4 100644
--- a/Source/cmDSWWriter.cxx
+++ b/Source/cmDSWWriter.cxx
@@ -171,7 +171,8 @@ void cmDSWWriter::WriteDSWFile(std::ostream& fout)
}
}
// Write the project into the DSW file
- if (l->second.GetType() != cmTarget::INSTALL)
+ if ((l->second.GetType() != cmTarget::INSTALL_FILES)
+ && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS))
{
this->WriteProject(fout, si->c_str(), dir.c_str(),
pg->GetDSPWriter(),l->second);