CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst 479 B

12345678910
  1. CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
  2. --------------------------------------
  3. Automatically add the current source- and build directories to the INTERFACE_INCLUDE_DIRECTORIES.
  4. If this variable is enabled, CMake automatically adds for each shared
  5. library target, static library target, module target and executable
  6. target, ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} to
  7. the INTERFACE_INCLUDE_DIRECTORIES.By default
  8. CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE is OFF.