diff options
author | Brad King <brad.king@kitware.com> | 2007-08-03 20:31:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-08-03 20:31:08 (GMT) |
commit | bffcff45302210b65728d4d6a4b831e1605150f0 (patch) | |
tree | ec02cebffba81d55eeaeabdd58544516dfb0423e /Source/cmTarget.cxx | |
parent | d7118006deaf15c6e1b796b33cd883dd9bfa14fb (diff) | |
download | CMake-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.cxx | 5 |
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, |