summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-08 15:08:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-09-08 15:08:05 (GMT)
commit28edb70a9e22314da875a8fa104636461b71d8c6 (patch)
treed10d341de179233daacfdd253799db9428855e91 /Source/cmake.cxx
parent02e3f42a6a4bc2b94befd35c908750c10f612d44 (diff)
parente6ac0aacf6c3ce17141870e252fda77d994782d3 (diff)
downloadCMake-28edb70a9e22314da875a8fa104636461b71d8c6.zip
CMake-28edb70a9e22314da875a8fa104636461b71d8c6.tar.gz
CMake-28edb70a9e22314da875a8fa104636461b71d8c6.tar.bz2
Merge topic 'vs-project-groups'
e6ac0aa Add FOLDER target property, for IDEs (#3796)
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 0f9ef1b..e6c7bb0 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3483,6 +3483,23 @@ void cmake::DefineProperties(cmake *cm)
"the value of this property. "
"Non-Makefile generators currently ignore this property.");
+ cm->DefineProperty
+ ("USE_FOLDERS", cmProperty::GLOBAL,
+ "Use the FOLDER target property to organize targets into folders.",
+ "If not set, CMake treats this property as ON by default. "
+ "CMake generators that are capable of organizing into a "
+ "hierarchy of folders use the values of the FOLDER target "
+ "property to name those folders. See also the documentation "
+ "for the FOLDER target property.");
+
+ cm->DefineProperty
+ ("PREDEFINED_TARGETS_FOLDER", cmProperty::GLOBAL,
+ "Name of FOLDER for targets that are added automatically by CMake.",
+ "If not set, CMake uses \"CMakePredefinedTargets\" as a default "
+ "value for this property. Targets such as INSTALL, PACKAGE and "
+ "RUN_TESTS will be organized into this FOLDER. See also the "
+ "documentation for the FOLDER target property.");
+
// ================================================================
// define variables as well
// ================================================================