summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst
diff options
context:
space:
mode:
authorAlexandr (Sagrer) Gridnev <sagrer@yandex.ru>2017-08-19 00:22:54 +0300
committerAlexandr (Sagrer) Gridnev <sagrer@yandex.ru>2017-09-14 13:21:59 +0300
commitfb19b7789aba9d7e9bd5d6c679c20e1f27e9a986 (patch)
tree172c3e38dfa6ad3ee5f4fc15c8a5c796ab422a72 /Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst
parentd6b49ee6767e8b21eee08d218ca5f599ad8f978b (diff)
downloadcmake-fb19b7789aba9d7e9bd5d6c679c20e1f27e9a986.tar.gz
CodeBlocks: add option to exclude external files
Add variable `CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` to optionally exclude files from outside the project root from the project file written by the CodeBlocks extra generator. This optionally restores logic that had been removed by commit v2.8.3~40^2 (CodeBlocks Generator: Do not omit files in the project file listing, 2010-10-05) in response to QTCREATORBUG-2250. Issue: #12110 Fixes: #17188
Diffstat (limited to 'Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst')
-rw-r--r--Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst b/Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst
new file mode 100644
index 0000000000..80ffce3a7f
--- /dev/null
+++ b/Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst
@@ -0,0 +1,7 @@
+CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES
+---------------------------------------
+
+Change the way the CodeBlocks generator creates project files.
+
+If this variable evaluates to ``ON`` the generator excludes from
+the project file any files that are located outside the project root.