From: Daniel Arndt Date: Tue, 11 Feb 2025 16:59:35 +0000 (-0500) Subject: Remove DEAL_II_INCLUDE_DIRS X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793f644d157b0db96ac72c6bfe5370144c10ace4;p=dealii.git Remove DEAL_II_INCLUDE_DIRS --- diff --git a/cmake/macros/macro_insource_setup_target.cmake b/cmake/macros/macro_insource_setup_target.cmake index 3359f06c57..9ffc4dcd31 100644 --- a/cmake/macros/macro_insource_setup_target.cmake +++ b/cmake/macros/macro_insource_setup_target.cmake @@ -47,7 +47,6 @@ function(insource_setup_target _target _build) "${CMAKE_SOURCE_DIR}/include" SYSTEM PRIVATE ${DEAL_II_BUNDLED_INCLUDE_DIRS} - ${DEAL_II_INCLUDE_DIRS} ) target_link_libraries(${_target} ${DEAL_II_TARGET_NAME}_${_build_lowercase}) diff --git a/cmake/macros/macro_populate_target_properties.cmake b/cmake/macros/macro_populate_target_properties.cmake index bb5295ca6e..c43865cbf1 100644 --- a/cmake/macros/macro_populate_target_properties.cmake +++ b/cmake/macros/macro_populate_target_properties.cmake @@ -21,8 +21,6 @@ # DEAL_II_LIBRARIES DEAL_II_LIBRARIES_ # DEAL_II_TARGETS DEAL_II_TARGETS_ # - populating the LINK_LIBRARIES target property -# DEAL_II_INCLUDE_DIRS -# - populating the INCLUDE_DIRECTORIES target property # DEAL_II_DEFINITIONS DEAL_II_DEFINITIONS_ # - populating the COMPILE_DEFINITIONS target property # DEAL_II_CXX_FLAGS DEAL_II_CXX_FLAGS_ @@ -50,11 +48,6 @@ function(populate_target_properties _target _build) set_target_properties(${_target} PROPERTIES LINKER_LANGUAGE "CXX") - # - # Add the contents of ${DEAL_II_INCLUDE_DIRS} as a public interface. - # - target_include_directories(${_target} SYSTEM ${_visibility} ${DEAL_II_INCLUDE_DIRS}) - # Build-directory specific includes: target_include_directories(${_target} PRIVATE diff --git a/contrib/python-bindings/source/CMakeLists.txt b/contrib/python-bindings/source/CMakeLists.txt index 4134021511..69c3671689 100644 --- a/contrib/python-bindings/source/CMakeLists.txt +++ b/contrib/python-bindings/source/CMakeLists.txt @@ -17,7 +17,6 @@ include_directories( ${CMAKE_SOURCE_DIR}/include/ ${CMAKE_SOURCE_DIR}/contrib/python-bindings/include/ SYSTEM - ${DEAL_II_INCLUDE_DIRS} ${DEAL_II_BUNDLED_INCLUDE_DIRS} ) diff --git a/doc/developers/cmake-internals.html b/doc/developers/cmake-internals.html index 1a931482ef..6108495658 100644 --- a/doc/developers/cmake-internals.html +++ b/doc/developers/cmake-internals.html @@ -547,13 +547,6 @@ DEAL_II_FORCE_BUNDLED_<FEATURE> (an option)
  • DEAL_II_LIBRARIES_RELEASE -
  • - Used to keep track of external include dirs, necessary for the - compilation of the library and user programs: - deal.II library: -
      -
    • DEAL_II_INCLUDE_DIRS -
  • Include dirs from bundled packages necessary for the compilation of the library and user projects out of the build directory: diff --git a/doc/users/cmake_user.html b/doc/users/cmake_user.html index 9be97af2c9..7518f7a0fc 100644 --- a/doc/users/cmake_user.html +++ b/doc/users/cmake_user.html @@ -815,8 +815,6 @@ DEAL_II_MPIEXEC_POSTFLAGS # Information about include directories and libraries # -DEAL_II_INCLUDE_DIRS - DEAL_II_LIBRARIES_DEBUG - a list of the full link interface for the debug configuration DEAL_II_LIBRARIES_RELEASE - a list of the full link interface for the release configuration DEAL_II_LIBRARIES - full list of libraries with "debug" and "optimized" keywords