Newer
Older
# set up project
project("dune-fem-dg" C CXX)
#find dune-common and set the module path
find_package(dune-common)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH}
"${CMAKE_SOURCE_DIR}/cmake/modules")# make sure our own modules are found
#include the dune macros
include(DuneMacros)
# start a dune project with information from dune.module
dune_project()
Stefan Girke
committed
#add sub directories
dune_add_subdirs( dune m4 lib doc cmake/modules )
Stefan Girke
committed
# finalize the dune project, e.g., generate config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)