Debian Codegraph @

cmake/templates/DOLFINConfig.cmake.in

raw ◀ ▶
2 Debian patches touch this file
1 # - Build details for DOLFIN: Dynamic Object-oriented Library for
2 # - FINite element computation
3 #
4 # This file has been automatically generated.
5
6 # FIXME: Check that naming conforms to CMake standards
7
8 if (POLICY CMP0011)
9 cmake_policy(SET CMP0011 NEW)
10 endif()
11
12 if (POLICY CMP0012)
13 cmake_policy(SET CMP0012 NEW)
14 endif()
15
16 # Compute path
17 get_filename_component(DOLFIN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
18
•19 # Include directories
20 set(DOLFIN_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/@DOLFIN_INCLUDE_DIR@")
21
22 # The location of the UseDOLFIN.cmake file
23 set(DOLFIN_USE_FILE "${DOLFIN_CMAKE_DIR}/UseDOLFIN.cmake")
24
25 # Library dependencies (contains definitions for IMPORTED targets)
26 # NOTE: DOLFIN demo CMakeLists.txt are written to be stand-alone, as
27 # well as the build system building the demo. Therefore, we need the
28 # below guard to avoid exporting the targets twice.
29 if (NOT TARGET dolfin)
30 include("${DOLFIN_CMAKE_DIR}/DOLFINTargets.cmake")
31 endif()
32
33 # Compilers
34 set(DOLFIN_CXX_COMPILER "@CMAKE_CXX_COMPILER@")
35
36 # Compiler defintions
37 set(DOLFIN_CXX_DEFINITIONS "-DDOLFIN_VERSION=\"@DOLFIN_VERSION@\";@DOLFIN_CXX_DEFINITIONS@")
38
39 # Compiler flags
40 set(DOLFIN_CXX_FLAGS "@CMAKE_CXX_FLAGS@")
41
42 # Linker flags
43 set(DOLFIN_LINK_FLAGS "@CMAKE_EXE_LINKER_FLAGS@")
44
45 # Third party include directories
46 set(DOLFIN_3RD_PARTY_INCLUDE_DIRS "@DOLFIN_DEP_INCLUDE_DIRECTORIES@;@DOLFIN_DEP_SYSTEM_INCLUDE_DIRECTORIES@")
47
48 # DOLFIN library
•49 set(DOLFIN_LIBRARIES dolfin${DOLFIN_LIB_NAME_EXT})
50
51 # Version
52 set(DOLFIN_VERSION_MAJOR "@DOLFIN_VERSION_MAJOR@")
53 set(DOLFIN_VERSION_MINOR "@DOLFIN_VERSION_MINOR@")
54 set(DOLFIN_VERSION_MICRO "@DOLFIN_VERSION_MICRO@")
55 set(DOLFIN_VERSION_STR "@DOLFIN_VERSION@")