-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build with release and refactor some CMakeLists.txt files
- Loading branch information
Showing
29 changed files
with
296 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(bitbots_blackboard) | ||
|
||
# Add support for C++17 | ||
if(NOT CMAKE_CXX_STANDARD) | ||
set(CMAKE_CXX_STANDARD 17) | ||
endif() | ||
|
||
find_package(bio_ik_msgs REQUIRED) | ||
find_package(ament_cmake REQUIRED) | ||
find_package(sensor_msgs REQUIRED) | ||
find_package(rclpy REQUIRED) | ||
find_package(tf2 REQUIRED) | ||
find_package(bitbots_msgs REQUIRED) | ||
find_package(std_msgs REQUIRED) | ||
find_package(tf2_geometry_msgs REQUIRED) | ||
find_package(std_srvs REQUIRED) | ||
find_package(geometry_msgs REQUIRED) | ||
find_package(bitbots_docs REQUIRED) | ||
find_package(ament_cmake REQUIRED) | ||
find_package(ament_cmake_python REQUIRED) | ||
|
||
set(INCLUDE_DIRS | ||
${bio_ik_msgs_INCLUDE_DIRS} | ||
${ament_cmake_INCLUDE_DIRS} | ||
${sensor_msgs_INCLUDE_DIRS} | ||
${rclpy_INCLUDE_DIRS} | ||
${tf2_INCLUDE_DIRS} | ||
${bitbots_msgs_INCLUDE_DIRS} | ||
${std_msgs_INCLUDE_DIRS} | ||
${tf2_geometry_msgs_INCLUDE_DIRS} | ||
${std_srvs_INCLUDE_DIRS} | ||
${geometry_msgs_INCLUDE_DIRS} | ||
${bitbots_docs_INCLUDE_DIRS}) | ||
include_directories(${INCLUDE_DIRS}) | ||
|
||
set(LIBRARY_DIRS | ||
${bio_ik_msgs_LIBRARY_DIRS} | ||
${ament_cmake_LIBRARY_DIRS} | ||
${sensor_msgs_LIBRARY_DIRS} | ||
${rclpy_LIBRARY_DIRS} | ||
${tf2_LIBRARY_DIRS} | ||
${bitbots_msgs_LIBRARY_DIRS} | ||
${std_msgs_LIBRARY_DIRS} | ||
${tf2_geometry_msgs_LIBRARY_DIRS} | ||
${std_srvs_LIBRARY_DIRS} | ||
${geometry_msgs_LIBRARY_DIRS} | ||
${bitbots_docs_LIBRARY_DIRS}) | ||
|
||
link_directories(${LIBRARY_DIRS}) | ||
|
||
set(LIBS | ||
${bio_ik_msgs_LIBRARIES} | ||
${ament_cmake_LIBRARIES} | ||
${sensor_msgs_LIBRARIES} | ||
${rclpy_LIBRARIES} | ||
${tf2_LIBRARIES} | ||
${bitbots_msgs_LIBRARIES} | ||
${std_msgs_LIBRARIES} | ||
${tf2_geometry_msgs_LIBRARIES} | ||
${std_srvs_LIBRARIES} | ||
${geometry_msgs_LIBRARIES} | ||
${bitbots_docs_LIBRARIES}) | ||
|
||
include(${CMAKE_BINARY_DIR}/../bitbots_docs/enable_bitbots_docs.cmake) | ||
enable_bitbots_docs() | ||
|
||
ament_export_dependencies(bio_ik_msgs) | ||
ament_export_dependencies(ament_cmake) | ||
ament_export_dependencies(sensor_msgs) | ||
ament_export_dependencies(rclpy) | ||
ament_export_dependencies(tf2) | ||
ament_export_dependencies(bitbots_msgs) | ||
ament_export_dependencies(std_msgs) | ||
ament_export_dependencies(tf2_geometry_msgs) | ||
ament_export_dependencies(std_srvs) | ||
ament_export_dependencies(geometry_msgs) | ||
ament_export_dependencies(bitbots_docs) | ||
ament_export_include_directories(${INCLUDE_DIRS}) | ||
|
||
ament_python_install_package(${PROJECT_NAME}) | ||
|
||
ament_package() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,11 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wolfgang_animations) | ||
|
||
# Add support for C++17 | ||
if(NOT CMAKE_CXX_STANDARD) | ||
set(CMAKE_CXX_STANDARD 17) | ||
endif() | ||
|
||
find_package(ament_cmake REQUIRED) | ||
find_package(bitbots_docs REQUIRED) | ||
|
||
set(INCLUDE_DIRS ${ament_cmake_INCLUDE_DIRS}) | ||
include_directories(${INCLUDE_DIRS}) | ||
|
||
set(LIBRARY_DIRS ${ament_cmake_LIBRARY_DIRS}) | ||
|
||
link_directories(${LIBRARY_DIRS}) | ||
|
||
set(LIBS ${ament_cmake_LIBRARIES}) | ||
|
||
include(${CMAKE_BINARY_DIR}/../bitbots_docs/enable_bitbots_docs.cmake) | ||
enable_bitbots_docs() | ||
|
||
ament_export_dependencies(ament_cmake) | ||
ament_export_include_directories(${INCLUDE_DIRS}) | ||
|
||
install(DIRECTORY animations DESTINATION share/${PROJECT_NAME}) | ||
|
||
ament_package() |
Oops, something went wrong.