summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-08-03 20:31:08 (GMT)
committerBrad King <brad.king@kitware.com>2007-08-03 20:31:08 (GMT)
commitbffcff45302210b65728d4d6a4b831e1605150f0 (patch)
treeec02cebffba81d55eeaeabdd58544516dfb0423e /Source/cmTarget.cxx
parentd7118006deaf15c6e1b796b33cd883dd9bfa14fb (diff)
downloadCMake-bffcff45302210b65728d4d6a4b831e1605150f0.zip
CMake-bffcff45302210b65728d4d6a4b831e1605150f0.tar.gz
CMake-bffcff45302210b65728d4d6a4b831e1605150f0.tar.bz2
ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 42bf043..a048cc4 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -123,8 +123,9 @@ void cmTarget::DefineProperties(cmake *cm)
"A property on a target that indicates if the target is excluded "
"from the default build target. If it is not, then with a Makefile "
"for example typing make will cause this target to be built. "
- "The same concept applies to the default build of other generators.",
- false);
+ "The same concept applies to the default build of other generators. "
+ "Installing a target with EXCLUDE_FROM_ALL set to true has "
+ "undefined behavior.");
cm->DefineProperty
("INSTALL_NAME_DIR", cmProperty::TARGET,