-
- Downloads
Completed adaptation of duneproject. It now creates a complete
infrastructure to use the module with cmake. Currently, only an installed dune-common can be used, as the others lack the cmake confguration files. One has to provide the CMAKE_MODULE_PATH pointing to the directory where e.g. DuneMacros.cmake is installed (PREFIX/share/cmake/modules) and DuneCommon_DIR pointing to PREFIXlib/cmake. The ${CMAKE_BINARY_DIR}/config.h.cmake of the project is created such that it includes section from modules that it depends on as well as the ${CMAKE_SOURCE_DIR}/config.h.cmake. This prevents user from creating a full file by hand. Renamed package configuration files according to the style of the other modules. [[Imported from SVN: r6661]]
Showing
- DuneCommonConfig.cmake.in 15 additions, 0 deletionsDuneCommonConfig.cmake.in
- DuneCommonVersion.cmake.in 0 additions, 0 deletionsDuneCommonVersion.cmake.in
- bin/duneproject 127 additions, 15 deletionsbin/duneproject
- cmake/modules/DuneMacros.cmake 135 additions, 19 deletionscmake/modules/DuneMacros.cmake
- config.h.cmake 12 additions, 4 deletionsconfig.h.cmake
- dune-common-config.cmake.in 0 additions, 14 deletionsdune-common-config.cmake.in
- dune/common/CMakeLists.txt 2 additions, 2 deletionsdune/common/CMakeLists.txt
DuneCommonConfig.cmake.in
0 → 100644
File moved
dune-common-config.cmake.in
deleted
100644 → 0
Please register or sign in to comment