-
Notifications
You must be signed in to change notification settings - Fork 3
/
Usecppdom.cmake.in
50 lines (40 loc) · 1.94 KB
/
Usecppdom.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# This module is provided as cppdom_USE_FILE by cppdomConfig.cmake. It can
# be INCLUDEd in a project to load the needed compiler and linker
# settings to use cppdom.
#
IF(NOT cppdom_USE_FILE_INCLUDED)
SET(cppdom_USE_FILE_INCLUDED 1)
# Update CMAKE_MODULE_PATH so includes work.
#SET (CMAKE_MODULE_PATH
# ${CMAKE_MODULE_PATH}
# ${cppdom_CMAKE_DIR})
# Add compiler flags needed to use cppdom.
#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${cppdom_REQUIRED_C_FLAGS}")
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${cppdom_REQUIRED_CXX_FLAGS}")
#SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${cppdom_REQUIRED_EXE_LINKER_FLAGS}")
#SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${cppdom_REQUIRED_SHARED_LINKER_FLAGS}")
#SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${cppdom_REQUIRED_MODULE_LINKER_FLAGS}")
# Add include directories needed to use cppdom.
INCLUDE_DIRECTORIES(${cppdom_INCLUDE_DIRS})
ENDIF(NOT cppdom_USE_FILE_INCLUDED)
#
# This module is provided as cppdom_USE_FILE by cppdomConfig.cmake. It can
# be INCLUDEd in a project to load the needed compiler and linker
# settings to use cppdom.
#
IF(NOT cppdom_USE_FILE_INCLUDED)
SET(cppdom_USE_FILE_INCLUDED 1)
# Update CMAKE_MODULE_PATH so includes work.
#SET (CMAKE_MODULE_PATH
# ${CMAKE_MODULE_PATH}
# ${cppdom_CMAKE_DIR})
# Add compiler flags needed to use cppdom.
#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${cppdom_REQUIRED_C_FLAGS}")
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${cppdom_REQUIRED_CXX_FLAGS}")
#SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${cppdom_REQUIRED_EXE_LINKER_FLAGS}")
#SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${cppdom_REQUIRED_SHARED_LINKER_FLAGS}")
#SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${cppdom_REQUIRED_MODULE_LINKER_FLAGS}")
# Add include directories needed to use cppdom.
INCLUDE_DIRECTORIES(${cppdom_INCLUDE_DIRS})
ENDIF(NOT cppdom_USE_FILE_INCLUDED)