Back to Cmake

CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE

Help/variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.rst

4.3.2351 B
Original Source

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 :variable:CMAKE_SOURCE_DIR and the :variable:CMAKE_BINARY_DIR to appear first.