]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Remove _USER variables
authorMatthias Maier <tamiko@43-1.org>
Fri, 25 Nov 2022 12:31:02 +0000 (06:31 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 25 Nov 2022 12:36:08 +0000 (06:36 -0600)
commit630bea3769abb9ceb02fabe42ae01aab3fd09848
treed5818f0d65a08c6877304664ae9fb994a901697d
parente81ac3a26001df1670a19598033ae261464481f9
CMake: Remove _USER variables

Traditionally we have used two "independent" sets of variables to keep
track of feature configurations:

  <FEATURE>_INCLUDE_DIRS
  <FEATURE>_DEFINITIONS(|_RELEASE|_DEBUG)

and

  <FEATURE>_USER_INCLUDE_DIRS
  <FEATURE>_USER_DEFINITIONS(|_RELEASE|_DEBUG)

The former was intended for internal use only and the latter for
exporting whatever is necessary to user projects.

However, this has not been used at all in the last 10 years.

So let us remove this distinction and simply always export include dirs
and definitions to users. This simplification is required to switch to
our features to interface targets.
39 files changed:
cmake/config/CMakeLists.txt
cmake/config/Config.cmake.in
cmake/configure/configure_20_boost.cmake
cmake/configure/configure_50_complex_values.cmake
cmake/configure/configure_50_vectorization.cmake
cmake/macros/macro_deal_ii_insource_setup_target.cmake
cmake/macros/macro_deal_ii_setup_target.cmake
cmake/modules/FindADOLC.cmake
cmake/modules/FindARBORX.cmake
cmake/modules/FindASSIMP.cmake
cmake/modules/FindBOOST.cmake
cmake/modules/FindCGAL.cmake
cmake/modules/FindCUDA.cmake
cmake/modules/FindGINKGO.cmake
cmake/modules/FindGMSH.cmake
cmake/modules/FindGSL.cmake
cmake/modules/FindHDF5.cmake
cmake/modules/FindKOKKOS.cmake
cmake/modules/FindLAPACK.cmake
cmake/modules/FindMETIS.cmake
cmake/modules/FindMPI.cmake
cmake/modules/FindOPENCASCADE.cmake
cmake/modules/FindP4EST.cmake
cmake/modules/FindPETSC.cmake
cmake/modules/FindSLEPC.cmake
cmake/modules/FindSUNDIALS.cmake
cmake/modules/FindSYMENGINE.cmake
cmake/modules/FindTASKFLOW.cmake
cmake/modules/FindTBB.cmake
cmake/modules/FindTRILINOS.cmake
cmake/modules/FindUMFPACK.cmake
cmake/setup_compiler_flags.cmake
cmake/setup_compiler_flags_gnu.cmake
cmake/setup_compiler_flags_intel.cmake
cmake/setup_compiler_flags_msvc.cmake
cmake/setup_deal_ii.cmake
cmake/setup_write_config.cmake
doc/developers/cmake-internals.html
doc/users/cmake_user.html

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.