4 #! \brief Top level %CMake file for the C++QED elements component.
6 #! The file structure is very simple, the main steps after finding the CPPQED core component are:
7 #! setting include dependency relations between sub-directories, calling elements_project() to
8 #! generate the library, and cppqed_documentation() to generate the documentation.
11 cmake_minimum_required (VERSION 2.8.9)
15 ############################################################
16 # This section is essential to find the required libraries
18 find_package(CPPQED 2.10 REQUIRED)
19 include(${CPPQED_USE})
20 include_directories(${CPPQED_INCLUDE_DIRS})
21 ############################################################
23 set(ELEMENTS_SOURCE_DIRS utils frees interactions)
24 set(frees_NEEDS utils)
25 set(interactions_NEEDS utils frees)
27 # This tells the elements_project macro that the project name 'elements' is ok
28 set(ORIGINAL_ELEMENTS_PROJECT 1)
31 ##################################################
33 ##################################################
36 cppqed_documentation("elements_" ${core_DOXYGEN_TAG} core_doc)