-
Notifications
You must be signed in to change notification settings - Fork 19
/
CMakeLists.txt
560 lines (497 loc) · 16.5 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
#
# Copyright (C) 2022-2024 LAAS-CNRS, INRIA
#
cmake_minimum_required(VERSION 3.16)
set(PROJECT_NAME aligator)
set(
PROJECT_DESCRIPTION
"A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization."
)
set(PROJECT_URL "https://github.com/Simple-Robotics/aligator")
set(PROJECT_CUSTOM_HEADER_EXTENSION "hpp")
set(PROJECT_USE_KEYWORD_LINK_LIBRARIES True)
# To enable jrl-cmakemodules compatibility with workspace we must define the two
# following lines
set(PROJECT_AUTO_RUN_FINALIZE FALSE)
set(PROJECT_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR})
set(CXX_DISABLE_WERROR True)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(PROJECT_USE_CMAKE_EXPORT True)
option(INSTALL_DOCUMENTATION "Generate and install the documentation" ON)
include(FetchContent)
# Check if the submodule cmake have been initialized
set(JRL_CMAKE_MODULES "${CMAKE_CURRENT_LIST_DIR}/cmake")
if(EXISTS "${JRL_CMAKE_MODULES}/base.cmake")
message(STATUS "JRL cmakemodules found in 'cmake/' git submodule")
else()
find_package(jrl-cmakemodules QUIET CONFIG)
if(jrl-cmakemodules_FOUND)
get_property(
JRL_CMAKE_MODULES
TARGET jrl-cmakemodules::jrl-cmakemodules
PROPERTY INTERFACE_INCLUDE_DIRECTORIES
)
message(STATUS "JRL cmakemodules found on system at ${JRL_CMAKE_MODULES}")
elseif(${CMAKE_VERSION} VERSION_LESS "3.14.0")
message(
FATAL_ERROR
"\nCan't find jrl-cmakemodules. Please either:\n"
" - use git submodule: 'git submodule update --init'\n"
" - or install https://github.com/jrl-umi3218/jrl-cmakemodules\n"
" - or upgrade your CMake version to >= 3.14 to allow automatic fetching\n"
)
else()
message(STATUS "JRL cmakemodules not found. Let's fetch it.")
FetchContent_Declare(
"jrl-cmakemodules"
GIT_REPOSITORY "https://github.com/jrl-umi3218/jrl-cmakemodules.git"
)
FetchContent_MakeAvailable("jrl-cmakemodules")
FetchContent_GetProperties("jrl-cmakemodules" SOURCE_DIR JRL_CMAKE_MODULES)
endif()
endif()
set(DOXYGEN_USE_MATHJAX NO)
set(DOXYGEN_USE_TEMPLATE_CSS YES)
set(DOXYGEN_HTML_HEADER "${PROJECT_SOURCE_DIR}/doc/header.html")
set(DOXYGEN_HTML_STYLESHEET "")
# Use BoostConfig module distributed by boost library instead of using FindBoost module distributed
# by CMake
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
# find_package(SDFormat14) reset this policy (with cmake_minimum_required) and redefine the find_dependency macro.
# Then, futur call of this macro don't use the right version of this policy.
# To avoid that, we define the CMP0167 default value.
set(CMAKE_POLICY_DEFAULT_CMP0167 NEW)
endif()
include(${JRL_CMAKE_MODULES}/base.cmake)
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
project(${PROJECT_NAME} ${PROJECT_ARGS})
set(CMAKE_VERBOSE_MAKEFILE OFF)
include(${JRL_CMAKE_MODULES}/tracy.cmake)
include(${JRL_CMAKE_MODULES}/boost.cmake)
include(${JRL_CMAKE_MODULES}/ide.cmake)
include(${JRL_CMAKE_MODULES}/python.cmake)
include(${JRL_CMAKE_MODULES}/apple.cmake)
if(APPLE) # Use the handmade approach
if(${CMAKE_VERSION} VERSION_LESS "3.18.0") # Need to find the right version
set(
CMAKE_MODULE_PATH
${JRL_CMAKE_MODULES}/find-external/OpenMP
${CMAKE_MODULE_PATH}
)
endif()
elseif(UNIX)
if(${CMAKE_VERSION} VERSION_EQUAL "3.20.0")
set(
CMAKE_MODULE_PATH
${JRL_CMAKE_MODULES}/find-external/OpenMP
${CMAKE_MODULE_PATH}
)
endif()
endif()
include(CMakeDependentOption)
apply_default_apple_configuration()
if(WIN32)
set(LINK copy_if_different)
else()
set(LINK create_symlink)
endif()
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "Setting build type to 'Release' as none was specified.")
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
# Set the possible values of build type for cmake-gui
set_property(
CACHE CMAKE_BUILD_TYPE
PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo"
)
endif()
function(set_standard_output_directory target)
set_target_properties(
${target}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib
ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib
)
endfunction()
# --- OPTIONS ----------------------------------------
option(BUILD_PYTHON_INTERFACE "Build the Python bindings" ON)
option(
BUILD_WITH_VERSION_SUFFIX
"Build libraries with version appended to suffix"
OFF
)
option(
ENABLE_TEMPLATE_INSTANTIATION
"Template instantiation of the main library"
ON
)
# --- OPTIONAL DEPENDENCIES -------------------------
option(
BUILD_WITH_PINOCCHIO_SUPPORT
"Build the library with support for Pinocchio"
ON
)
cmake_dependent_option(
BUILD_CROCODDYL_COMPAT
"Build the Crocoddyl compatibility module"
OFF
BUILD_WITH_PINOCCHIO_SUPPORT
OFF
)
option(BUILD_WITH_OPENMP_SUPPORT "Build the library with the OpenMP support" ON)
option(
BUILD_WITH_CHOLMOD_SUPPORT
"Build with support for backends enabled by Cholmod"
OFF
)
option(BUILD_BENCHMARKS "Build benchmarks" ON)
option(BUILD_EXAMPLES "Build examples" ON)
cmake_dependent_option(
GENERATE_PYTHON_STUBS
"Generate the Python stubs associated to the Python library"
ON
BUILD_PYTHON_INTERFACE
OFF
)
option(INITIALIZE_WITH_NAN "Initialize Eigen entries with NaN" OFF)
option(
CHECK_RUNTIME_MALLOC
"Check if some memory allocations are performed at runtime"
OFF
)
# Variable containing all the cflags definition relative to optional dependencies
# and options
set(CFLAGS_DEPENDENCIES)
if(INITIALIZE_WITH_NAN)
message(STATUS "Initialize with NaN all the Eigen entries.")
add_compile_definitions(EIGEN_INITIALIZE_MATRICES_BY_NAN)
endif()
if(CHECK_RUNTIME_MALLOC)
message(STATUS "Check if some memory allocations are performed at runtime.")
add_compile_definitions(ALIGATOR_EIGEN_CHECK_MALLOC)
add_compile_definitions(EIGEN_RUNTIME_NO_MALLOC)
endif()
if(ENABLE_TEMPLATE_INSTANTIATION)
add_compile_definitions(ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION)
list(APPEND CFLAGS_DEPENDENCIES "-DALIGATOR_ENABLE_TEMPLATE_INSTANTIATION")
endif()
# ----------------------------------------------------
# --- DEPENDENCIES -----------------------------------
# ----------------------------------------------------
add_project_dependency(Eigen3 3.3.7 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.3.7")
add_project_dependency(fmt "10.0.0...<12" REQUIRED PKG_CONFIG_REQUIRES "fmt >= 10.0.0")
if(BUILD_WITH_OPENMP_SUPPORT)
add_project_dependency(OpenMP REQUIRED)
add_compile_definitions(ALIGATOR_MULTITHREADING)
endif()
if(BUILD_WITH_PINOCCHIO_SUPPORT)
message(STATUS "Building with Pinocchio support.")
add_compile_definitions(ALIGATOR_WITH_PINOCCHIO)
list(APPEND CFLAGS_DEPENDENCIES "-DALIGATOR_WITH_PINOCCHIO")
endif()
if(BUILD_CROCODDYL_COMPAT)
message(STATUS "Building with Crocoddyl compatibility.")
add_compile_definitions(ALIGATOR_WITH_CROCODDYL_COMPAT)
list(APPEND CFLAGS_DEPENDENCIES "-DALIGATOR_WITH_CROCODDYL_COMPAT")
endif()
if(BUILD_WITH_CHOLMOD_SUPPORT)
set(
CMAKE_MODULE_PATH
${JRL_CMAKE_MODULES}/find-external/CHOLMOD
${CMAKE_MODULE_PATH}
)
add_project_dependency(CHOLMOD REQUIRED)
message(
STATUS
"Build with CHOLMOD support (LGPL). See CHOLMOD/Doc/License.txt for further details."
)
add_compile_definitions(ALIGATOR_WITH_CHOLMOD)
endif()
set(BOOST_REQUIRED_COMPONENTS filesystem)
set_boost_default_options()
export_boost_default_options()
add_project_dependency(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
if(BUILD_PYTHON_INTERFACE)
set(PYTHON_COMPONENTS Interpreter Development NumPy)
findpython(REQUIRED)
add_project_dependency(eigenpy 3.7.0 REQUIRED PKG_CONFIG_REQUIRES "eigenpy >= 3.7.0")
set(PYLIB_NAME "py${PROJECT_NAME}")
set(${PYLIB_NAME}_INSTALL_DIR ${PYTHON_SITELIB}/${PROJECT_NAME})
endif()
add_project_dependency(proxsuite-nlp 0.8.0 REQUIRED PKG_CONFIG_REQUIRES "proxsuite-nlp >= 0.8.0")
set(LIB_SOURCES src/utils/exceptions.cpp src/utils/logger.cpp)
file(
GLOB_RECURSE LIB_HEADERS
CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/include/aligator/*.hpp
${PROJECT_SOURCE_DIR}/include/aligator/*.hxx
)
if(ENABLE_TEMPLATE_INSTANTIATION)
file(
GLOB_RECURSE LIB_TEMPLATE_SOURCES
CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/src/core/*.cpp
${PROJECT_SOURCE_DIR}/src/solvers/fddp/*.cpp
${PROJECT_SOURCE_DIR}/src/solvers/proxddp/*.cpp
${PROJECT_SOURCE_DIR}/src/modelling/*.cpp
)
file(
GLOB_RECURSE LIB_TEMPLATE_DECLARATIONS
CONFIGURE_DEPENDS
${PROJECT_SOURCE_DIR}/include/aligator/*.txx
)
list(APPEND LIB_HEADERS ${LIB_TEMPLATE_DECLARATIONS})
list(APPEND LIB_SOURCES ${LIB_TEMPLATE_SOURCES})
endif()
list(
FILTER LIB_HEADERS
EXCLUDE
REGEX ${PROJECT_SOURCE_DIR}/include/aligator/compat/*
)
option(DOWNLOAD_TRACY "Use FetchContent to install Tracy." OFF)
if(ALIGATOR_TRACY_ENABLE AND DOWNLOAD_TRACY)
# We use FetchContent_Populate because we need EXCLUDE_FROM_ALL to avoid
# installing Tracy with aligator.
# We can directly use EXCLUDE_FROM_ALL in FetchContent_Declare when CMake minimum version
# will be 3.28.
if(POLICY CMP0169)
cmake_policy(SET CMP0169 OLD)
endif()
FetchContent_Declare(
tracy
GIT_REPOSITORY https://github.com/Simple-Robotics/tracy.git
GIT_TAG patches
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
)
FetchContent_GetProperties(tracy)
if(NOT tracy_POPULATED)
FetchContent_Populate(tracy)
set(TRACY_STATIC ON CACHE INTERNAL "")
set(TRACY_ENABLE ${ALIGATOR_TRACY_ENABLE} CACHE INTERNAL "")
add_subdirectory(${tracy_SOURCE_DIR} ${tracy_BINARY_DIR} EXCLUDE_FROM_ALL)
# Extract the target include directories, set as system
get_target_property(
tracy_INCLUDE_DIR
TracyClient
INTERFACE_INCLUDE_DIRECTORIES
)
set_target_properties(
TracyClient
PROPERTIES
POSITION_INDEPENDENT_CODE True
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${tracy_INCLUDE_DIR}"
)
endif()
elseif(ALIGATOR_TRACY_ENABLE)
# assume it is installed somewhere
add_project_dependency(Tracy)
set_target_properties(
Tracy::TracyClient
PROPERTIES POSITION_INDEPENDENT_CODE True
)
if(NOT ${tracy_FOUND})
message(
FATAL_ERROR
"Aligator support for tracy is enabled, but tracy was not found on your system."
" Install it, or set the option DOWNLOAD_TRACY to ON so we can fetch it."
)
else()
message(STATUS "Tracy found on your system at ${Tracy_DIR}")
endif()
endif()
add_subdirectory(gar)
# Create the main shared library.
function(create_library)
add_library(${PROJECT_NAME} SHARED ${LIB_HEADERS} ${LIB_SOURCES})
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
set_target_properties(
${PROJECT_NAME}
PROPERTIES
LINKER_LANGUAGE CXX
VERSION ${PROJECT_VERSION}
INSTALL_RPATH "\$ORIGIN"
)
set_standard_output_directory(${PROJECT_NAME})
target_link_libraries(${PROJECT_NAME} PUBLIC aligator::gar)
# Extract the compile definitions of the project for export
get_directory_property(CURRENT_COMPILE_DEFINITIONS COMPILE_DEFINITIONS)
target_compile_definitions(
${PROJECT_NAME}
PUBLIC ${CURRENT_COMPILE_DEFINITIONS}
)
if(BUILD_WITH_PINOCCHIO_SUPPORT)
target_link_libraries(${PROJECT_NAME} PUBLIC pinocchio::pinocchio)
endif()
if(BUILD_WITH_OPENMP_SUPPORT)
target_link_libraries(${PROJECT_NAME} PUBLIC OpenMP::OpenMP_CXX)
endif()
target_link_libraries(${PROJECT_NAME} PUBLIC proxsuite-nlp::proxsuite-nlp)
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt)
# set the install-tree include dirs
# used by dependent projects to consume this target
target_include_directories(
${PROJECT_NAME}
PUBLIC
$<INSTALL_INTERFACE:include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
)
foreach(headerFile ${LIB_HEADERS})
string(
REGEX REPLACE
"${PROJECT_SOURCE_DIR}/"
""
headerFileRelative
${headerFile}
)
get_filename_component(headerPath ${headerFileRelative} PATH)
install(
FILES ${headerFileRelative}
DESTINATION ${headerPath}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE
)
endforeach()
endfunction()
create_library()
add_header_group(LIB_HEADERS)
add_source_group(LIB_SOURCES)
install(
TARGETS ${PROJECT_NAME}
EXPORT ${TARGETS_EXPORT_NAME}
INCLUDES DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
)
if(DOWNLOAD_TRACY)
install(
TARGETS TracyClient
EXPORT ${TARGETS_EXPORT_NAME}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/aligator
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/aligator
)
message(
STATUS
"Installing TracyClient target to ${CMAKE_INSTALL_FULL_LIBDIR}/aligator"
)
endif()
if(BUILD_CROCODDYL_COMPAT)
add_project_dependency(crocoddyl REQUIRED)
add_subdirectory(src/compat/crocoddyl)
endif()
add_subdirectory(bindings)
# benchmarks, examples, and tests
macro(create_ex_or_bench exfile exname)
add_executable(${exname} ${exfile})
message(STATUS "Adding cpp example ${exname}")
set_target_properties(${exname} PROPERTIES LINKER_LANGUAGE CXX)
set_standard_output_directory(${exname})
target_include_directories(${exname} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(${exname} PUBLIC ${PROJECT_NAME})
endmacro()
if(BUILD_WITH_PINOCCHIO_SUPPORT AND (BUILD_EXAMPLES OR BUILD_BENCHMARKS))
add_project_private_dependency(example-robot-data 4.0.9 REQUIRED)
macro(target_add_example_robot_data target_name)
target_link_libraries(
${target_name}
PRIVATE example-robot-data::example-robot-data
)
endmacro()
endif()
# create an utility library to avoid recompiling crocoddyl talos arm problem
# used in examples and benchmarks
if(BUILD_CROCODDYL_COMPAT AND (BUILD_EXAMPLES OR BUILD_BENCHMARKS))
add_library(
croc_talos_arm_utils
STATIC
${PROJECT_SOURCE_DIR}/examples/croc-talos-arm.cpp
${PROJECT_SOURCE_DIR}/examples/croc-talos-arm.hpp
)
target_include_directories(
croc_talos_arm_utils
PUBLIC ${PROJECT_SOURCE_DIR}/examples
)
target_link_libraries(
croc_talos_arm_utils
PUBLIC ${PROJECT_NAME} Boost::boost crocoddyl::crocoddyl
)
set_standard_output_directory(croc_talos_arm_utils)
target_add_example_robot_data(croc_talos_arm_utils)
endif()
if(BUILD_BENCHMARKS OR BUILD_TESTING)
add_library(
gar_test_utils
STATIC
${PROJECT_SOURCE_DIR}/tests/gar/test_util.cpp
)
target_link_libraries(gar_test_utils PRIVATE aligator::gar)
set_standard_output_directory(gar_test_utils)
endif()
if(
BUILD_WITH_PINOCCHIO_SUPPORT
AND ${pinocchio_VERSION} VERSION_GREATER "2.9.0"
)
set(PINOCCHIO_V3 True)
endif()
if(PINOCCHIO_V3 AND (BUILD_EXAMPLES OR BUILD_BENCHMARKS))
add_library(
talos_walk_utils
STATIC
${PROJECT_SOURCE_DIR}/examples/talos-walk-utils.cpp
${PROJECT_SOURCE_DIR}/examples/talos-walk-utils.hpp
)
target_include_directories(
talos_walk_utils
PUBLIC ${PROJECT_SOURCE_DIR}/examples
)
set_standard_output_directory(talos_walk_utils)
target_link_libraries(talos_walk_utils PUBLIC ${PROJECT_NAME})
target_add_example_robot_data(talos_walk_utils)
function(target_add_talos_walk target)
target_link_libraries(${target} PRIVATE talos_walk_utils)
endfunction()
endif()
if(BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
if(BUILD_BENCHMARKS)
find_package(benchmark REQUIRED)
add_subdirectory(bench)
endif()
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
# --- PACKAGING ----------------------------------------------------------------
macro(EXPORT_VARIABLE var_name var_value)
get_directory_property(has_parent PARENT_DIRECTORY)
if(has_parent)
set(${var_name} ${var_value} PARENT_SCOPE)
else()
set(${var_name} ${var_value})
endif()
string(APPEND PACKAGE_EXTRA_MACROS "\nset(${var_name} ${var_value})")
endmacro()
if(BUILD_WITH_PINOCCHIO_SUPPORT)
export_variable(ALIGATOR_WITH_PINOCCHIO_SUPPORT ON)
endif()
if(ENABLE_TEMPLATE_INSTANTIATION)
export_variable(ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION ON)
endif()
if(BUILD_PYTHON_INTERFACE)
export_variable(ALIGATOR_WITH_PYTHON_INTERFACE ON)
endif()
if(BUILD_WITH_OPENMP_SUPPORT)
export_variable(ALIGATOR_WITH_OPENMP_SUPPORT ON)
endif()
if(BUILD_CROCODDYL_COMPAT)
export_variable(ALIGATOR_WITH_CROCODDYL_COMPAT ON)
pkg_config_append_libs(aligator_croc_compat)
endif()
pkg_config_append_libs(${PROJECT_NAME})
pkg_config_append_boost_libs(${BOOST_REQUIRED_COMPONENTS})
pkg_config_append_cflags("${CFLAGS_DEPENDENCIES}")
# Install catkin package.xml
install(FILES package.xml DESTINATION share/${PROJECT_NAME})
setup_project_finalize()