-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (40 loc) · 1013 Bytes
/
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
cmake_minimum_required(VERSION 2.8.3)
project(xbacov04)
find_package(catkin REQUIRED COMPONENTS
roslint
art_msgs
cv_bridge
geometry_msgs
image_geometry
rospy
std_msgs
roslaunch
rostest
art_utils
qt_build
)
find_package(Qt5 COMPONENTS Core Gui Widgets Qml Quick REQUIRED)
catkin_python_setup()
set(ROSLINT_PYTHON_OPTS "--max-line-length=250")
roslint_python()
roslint_add_test()
catkin_package(
CATKIN_DEPENDS geometry_msgs art_msgs std_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
${Qt5Core_INCLUDE_DIRS}
${Qt5Gui_INCLUDE_DIRS}
${Qt5Widgets_INCLUDE_DIRS}
${Qt5Qml_INCLUDE_DIRS}
${Qt5Quick_INCLUDE_DIRS}
)
file(GLOB QT_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*.qrc)
#install(DIRECTORY launch/
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch)
#
#catkin_install_python(PROGRAMS src/app.py
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
#
#catkin_install_python(PROGRAMS src/projector_node.py
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})