CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES

From Get docs
Cmake/docs/3.21/variable/cmake codeblocks exclude external files


CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES

New in version 3.10.


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.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES.html