CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE
Whether to force prepending of project include directories.
This variable affects the order of include directories generated in compiler command lines. If set to ON
, it causes the CMAKE_SOURCE_DIR
and the CMAKE_BINARY_DIR
to appear first.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.html