CMake/Help/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.rst
Alexandr (Sagrer) Gridnev fb19b7789a 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
2017-09-14 13:21:59 +03:00

8 lines
280 B
ReStructuredText

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.