summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.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/cmTarget.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/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index ea983f9..8fc06ea 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -44,7 +44,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
void cmTarget::GenerateSourceFilesFromSourceLists(const cmMakefile &mf)
{
// this is only done for non install targets
- if (this->m_TargetType == cmTarget::INSTALL)
+ if ((this->m_TargetType == cmTarget::INSTALL_FILES)
+ || (this->m_TargetType == cmTarget::INSTALL_PROGRAMS))
{
return;
}