summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-27 08:22:53 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-27 08:22:53 -0400
commitded15f26b8f9b6407ee93e11d9239f1ab5dfcc99 (patch)
treecd6dac3ff9e64c38bcbcf98357459ab5bfd85949 /Help
parente8ff565d94baf45df145dfef46e8cd40aedc08ff (diff)
parentcbe488792746377396a9f38aeb2999750ade518a (diff)
downloadcmake-ded15f26b8f9b6407ee93e11d9239f1ab5dfcc99.tar.gz
Merge topic 'codelite-organize-by-target'
cbe48879 CodeLite: Optionally use targets to create (sub)project files
Diffstat (limited to 'Help')
-rw-r--r--Help/generator/CodeLite.rst6
-rw-r--r--Help/manual/cmake-variables.7.rst1
-rw-r--r--Help/release/dev/codelite-organize-by-target.rst6
-rw-r--r--Help/variable/CMAKE_CODELITE_USE_TARGETS.rst7
4 files changed, 19 insertions, 1 deletions
diff --git a/Help/generator/CodeLite.rst b/Help/generator/CodeLite.rst
index dbc46d72be..3e60aa6d65 100644
--- a/Help/generator/CodeLite.rst
+++ b/Help/generator/CodeLite.rst
@@ -5,7 +5,11 @@ Generates CodeLite project files.
Project files for CodeLite will be created in the top directory and
in every subdirectory which features a CMakeLists.txt file containing
-a PROJECT() call. The appropriate make program can build the
+a :command:`project` call.
+The :variable:`CMAKE_CODELITE_USE_TARGETS` variable may be set to ``ON``
+to change the default behaviour from projects to targets as the basis
+for project files.
+The appropriate make program can build the
project through the default make target. A "make install" target is
also provided.
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index d9da3d6e7f..b74f8670e6 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -112,6 +112,7 @@ Variables that Change Behavior
/variable/CMAKE_AUTOMOC_RELAXED_MODE
/variable/CMAKE_BACKWARDS_COMPATIBILITY
/variable/CMAKE_BUILD_TYPE
+ /variable/CMAKE_CODELITE_USE_TARGETS
/variable/CMAKE_COLOR_MAKEFILE
/variable/CMAKE_CONFIGURATION_TYPES
/variable/CMAKE_DEBUG_TARGET_PROPERTIES
diff --git a/Help/release/dev/codelite-organize-by-target.rst b/Help/release/dev/codelite-organize-by-target.rst
new file mode 100644
index 0000000000..0979228350
--- /dev/null
+++ b/Help/release/dev/codelite-organize-by-target.rst
@@ -0,0 +1,6 @@
+codelite-organize-by-target
+---------------------------
+
+* The :generator:`CodeLite` generator gained a new
+ :variable:`CMAKE_CODELITE_USE_TARGETS` option
+ to change project creation from projects to targets.
diff --git a/Help/variable/CMAKE_CODELITE_USE_TARGETS.rst b/Help/variable/CMAKE_CODELITE_USE_TARGETS.rst
new file mode 100644
index 0000000000..4aede0361e
--- /dev/null
+++ b/Help/variable/CMAKE_CODELITE_USE_TARGETS.rst
@@ -0,0 +1,7 @@
+CMAKE_CODELITE_USE_TARGETS
+--------------------------
+
+Change the way the CodeLite generator creates projectfiles.
+
+If this variable is set to ``ON`` the generator creates projectfiles
+based on targets rather than projects.