-
Notifications
You must be signed in to change notification settings - Fork 38
/
CMakeLists.txt
72 lines (60 loc) · 1.25 KB
/
CMakeLists.txt
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
include_directories(
${Qt5Core_INCLUDE_DIRS}
${tinyxml_INCLUDE_DIRS}
)
set (CMAKE_AUTOMOC ON)
add_definitions(${Qt5Core_DEFINITIONS})
set (qt_headers
BoolWidget.hh
CollapsibleWidget.hh
ColorWidget.hh
Dialog.hh
Dock.hh
EditableLabel.hh
EnumWidget.hh
GeometryWidget.hh
MainWindow.hh
MessageWidget.hh
NumberWidget.hh
Plugin.hh
Pose3dWidget.hh
PropertyWidget.hh
StringWidget.hh
VariablePill.hh
VariablePillContainer.hh
Vector3dWidget.hh
)
set (headers
Conversions.hh
DragDropModel.hh
Enums.hh
Helpers.hh
Iface.hh
ign.hh
qt.h
qwt.h
QtMetatypes.hh
SearchModel.hh
System.hh
)
set (resources resources.qrc)
QT5_WRAP_CPP(headers_MOC ${qt_headers})
QT5_ADD_RESOURCES(resources_RCC ${resources})
ign_create_core_library(SOURCES
${sources}
${headers_MOC}
${resources_RCC}
)
target_link_libraries(${PROJECT_NAME_LOWER}
${IGNITION-COMMON_LIBRARIES}
${IGNITION-MATH_LIBRARIES}
${IGNITION-MSGS_LIBRARIES}
${IGNITION-TRANSPORT_LIBRARIES}
${Qt5Core_LIBRARIES}
${Qt5Widgets_LIBRARIES}
${tinyxml2_LIBRARIES}
)
add_subdirectory(plugins)
#ign_install_includes("" ${CMAKE_CURRENT_BINARY_DIR}/${IGN_DESIGNATION}.hh)
#ign_install_includes(${IGN_DESIGNATION} ${headers} ${qt_headers})
ign_install_all_headers()