Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
d1395c0e
Commit
d1395c0e
authored
Nov 25, 2019
by
Olivier Stasse
Committed by
olivier stasse
Dec 30, 2019
Browse files
CMakeLists.txt switch to CMake Boost detection.
parent
8b2530bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d1395c0e
...
...
@@ -26,10 +26,11 @@ PROJECT(${PROJECT_NAME}
# jrl-cmakemodules handling of usual modules
INCLUDE
(
cmake/header.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/pthread.cmake
)
add_project_dependency
(
Eigen3 REQUIRED NO_MODULE
)
add_project_dependency
(
Boost REQUIRED
OPTIONAL_COMPONENTS
serialization system unit_test_framework thread
)
# Allows math in mathjax.
SET
(
DOXYGEN_USE_MATHJAX YES
)
...
...
@@ -59,13 +60,7 @@ SET(PKG_CONFIG_EXTRA "plugindir=${PLUGINDIR}")
PKG_CONFIG_APPEND_LIBS
(
${
PROJECT_NAME
}
)
# Search for Boost.
SET
(
BOOST_COMPONENTS serialization system unit_test_framework thread
)
SEARCH_FOR_BOOST
()
SEARCH_FOR_PTHREAD
()
#SEARCH_FOR_EIGEN()
#find_package(catkin
# REQUIRED COMPONENTS
# )
####################################
...
...
@@ -212,7 +207,9 @@ FOREACH(plugin_file ${plugins_list})
PREFIX
""
)
INSTALL
(
TARGETS
${
plugin
}
EXPORT
${
TARGET_NAME
}
DESTINATION
${
PLUGINDIR
}
)
INSTALL
(
TARGETS
${
plugin
}
EXPORT
${
TARGET_NAME
}
DESTINATION
${
PLUGINDIR
}
)
ENDFOREACH
(
plugin_file
)
ADD_SUBDIRECTORY
(
include/
${
PROJECT_NAME
}
)
...
...
@@ -220,3 +217,11 @@ ADD_SUBDIRECTORY(tests)
SETUP_PROJECT_PACKAGE_FINALIZE
()
get_cmake_property
(
_variableNames VARIABLES
)
list
(
SORT _variableNames
)
foreach
(
_variableName
${
_variableNames
}
)
message
(
STATUS
"
${
_variableName
}
=
${${
_variableName
}}
"
)
endforeach
()
MESSAGE
(
STATUS
"dynamic_graph_VERSION=
${
dynamic_graph_VERSION
}
"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment