-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
105 lines (94 loc) · 2.64 KB
/
Copy pathCMakeLists.txt
File metadata and controls
105 lines (94 loc) · 2.64 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
cmake_minimum_required(VERSION 2.6)
SET(CMAKE_CXX_FLAGS "-g")
PROJECT(qpid-xbroker)
FIND_PACKAGE(Qt4 REQUIRED)
FIND_LIBRARY(qmf2 qmf2)
SET(xview_FORMS
xview.ui
chart.ui
dialogopen.ui
dialogabout.ui
dialogobjects.ui
widgetqmfobject.ui
)
SET(xview_HEADERS
chart.h
commandlinkbutton.h
dialogabout.h
dialogexchanges.h
dialogobjects.h
dialogopen.h
exchange-details.h
exchange-model.h
fisheyelayout.h
object-details.h
object-model.h
propertydelegate.h
qmf-thread.h
related-model.h
relatedheaderview.h
sample.h
widgetbindings.h
widgetconnections.h
widgetexchanges.h
widgetqmfobject.h
widgetqueues.h
widgetsessions.h
widgetsubscriptions.h
xview.h
)
SET(xview_SOURCES
chart.cpp
commandlinkbutton.cpp
dialogabout.cpp
dialogexchanges.cpp
dialogobjects.cpp
dialogopen.cpp
exchange-details.cpp
exchange-model.cpp
fisheyelayout.cpp
main.cpp
object-details.cpp
object-model.cpp
propertydelegate.cpp
qmf-thread.cpp
related-model.cpp
relatedheaderview.cpp
sample.cpp
widgetbindings.cpp
widgetconnections.cpp
widgetexchanges.cpp
widgetqmfobject.cpp
widgetqueues.cpp
widgetsessions.cpp
widgetsubscriptions.cpp
xview.cpp
)
SET(xview_RESOURCES xview.qrc)
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
QT4_WRAP_UI(xview_FORMS_HEADERS ${xview_FORMS})
QT4_WRAP_CPP(xview_HEADERS_MOC ${xview_HEADERS})
QT4_ADD_RESOURCES(xview_RESOURCES_RCC ${xview_RESOURCES})
ADD_EXECUTABLE(qpid-xbroker ${xview_SOURCES} ${xview_HEADERS_MOC} ${xview_FORMS_HEADERS} ${xview_RESOURCES_RCC})
TARGET_LINK_LIBRARIES(qpid-xbroker ${QT_LIBRARIES} qmf2 qpidmessaging qpidtypes)
INSTALL (TARGETS qpid-xbroker RUNTIME DESTINATION bin)