-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
42 lines (33 loc) · 973 Bytes
/
CMakeLists.txt
File metadata and controls
42 lines (33 loc) · 973 Bytes
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
cmake_minimum_required(VERSION 2.8.3)
project(g_compensation)
find_package(catkin REQUIRED COMPONENTS
roscpp
geometry_msgs
tf2
tf2_ros
tf2_geometry_msgs
rosparam_shortcuts
kdl_conversions
)
catkin_python_setup()
catkin_package()
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_executable(g_compensator src/g_compensation/g_compensator.cpp)
## Specify libraries to link a library or executable target against
target_link_libraries(g_compensator
${catkin_LIBRARIES}
)
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
catkin_install_python(PROGRAMS
src/g_compensation/g_compensator.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
## Mark executables for installation
## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_executables.html
install(TARGETS g_compensator
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)