summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-23 14:46:27 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-23 14:46:27 (GMT)
commit8ad343093179035fa8ad9136e8e8f72fc3804dd2 (patch)
tree35c34abc3af73da857cffea26f0c4eeb2872369b /Source/cmMakefile.cxx
parent440bbf08711e9a784f90f1d2541e5d204807161a (diff)
downloadCMake-8ad343093179035fa8ad9136e8e8f72fc3804dd2.zip
CMake-8ad343093179035fa8ad9136e8e8f72fc3804dd2.tar.gz
CMake-8ad343093179035fa8ad9136e8e8f72fc3804dd2.tar.bz2
ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 60929ef..4b81edb 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2745,4 +2745,12 @@ void cmMakefile::DefineProperties(cmake *cm)
"A cmake file that will be included when ctest is run.",
"If you specify TEST_INCLUDE_FILE, that file will be "
"included and processed when ctest is run on the directory.");
+
+ cm->DefineProperty
+ ("EXCLUDE_FROM_ALL", cmProperty::DIRECTORY,
+ "Exclude the target from the all target.",
+ "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 couse this target to be built as well. "
+ "The same concept applies to the default build of other generators.");
}