diff options
author | Minze Zwerver <ysblokje@gmail.com> | 2016-09-23 06:42:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-26 17:40:38 (GMT) |
commit | cbe488792746377396a9f38aeb2999750ade518a (patch) | |
tree | 0a55ad14b161d0e8dccfd0a725e31231d1b7a4d5 /Help/generator | |
parent | d0a27ae998e5ff313937f346b53d672c6353bd74 (diff) | |
download | CMake-cbe488792746377396a9f38aeb2999750ade518a.zip CMake-cbe488792746377396a9f38aeb2999750ade518a.tar.gz CMake-cbe488792746377396a9f38aeb2999750ade518a.tar.bz2 |
CodeLite: Optionally use targets to create (sub)project files
The basic codelite generator creates .project files based on the
`project()` stanza. Add a `CMAKE_CODELITE_USE_TARGETS` option to use
the targets instead.
Diffstat (limited to 'Help/generator')
-rw-r--r-- | Help/generator/CodeLite.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/generator/CodeLite.rst b/Help/generator/CodeLite.rst index dbc46d7..3e60aa6 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. |