Skip to content

Commit 3efe6f0

Browse files
committed
Cleaned up cmakelist
1 parent f3f47b6 commit 3efe6f0

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

deep_tools/camera_sync/CMakeLists.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
cmake_minimum_required(VERSION 3.8)
14+
cmake_minimum_required(VERSION 3.22)
1515
project(camera_sync)
1616

1717
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1818
add_compile_options(-Wall -Wextra -Wpedantic)
1919
endif()
2020

21-
# find dependencies
2221
find_package(ament_cmake REQUIRED)
2322
find_package(rclcpp REQUIRED)
2423
find_package(rclcpp_lifecycle REQUIRED)
@@ -30,7 +29,6 @@ find_package(message_filters REQUIRED)
3029
find_package(image_transport REQUIRED)
3130
find_package(deep_msgs REQUIRED)
3231

33-
# Create include directory
3432
include_directories(include)
3533

3634
# Define lifecycle node support based on ROS distro
@@ -41,7 +39,6 @@ else()
4139
add_definitions(-DUSE_LIFECYCLE_NODE=0)
4240
endif()
4341

44-
# Add the multi-camera sync library for component
4542
add_library(multi_camera_sync_component SHARED src/multi_camera_sync_node.cpp)
4643
target_link_libraries(multi_camera_sync_component
4744
rclcpp::rclcpp
@@ -59,34 +56,25 @@ target_link_libraries(multi_camera_sync_component
5956
rclcpp_components_register_nodes(multi_camera_sync_component "camera_sync::MultiCameraSyncNode")
6057
set(node_plugins "${node_plugins}camera_sync::MultiCameraSyncNode;$<TARGET_FILE:multi_camera_sync_component>\n")
6158

62-
63-
64-
# Install executables and libraries
6559
install(TARGETS
6660
multi_camera_sync_component
6761
ARCHIVE DESTINATION lib
6862
LIBRARY DESTINATION lib
6963
RUNTIME DESTINATION bin
7064
)
7165

72-
73-
74-
# Install include directory
7566
install(DIRECTORY include/
7667
DESTINATION include
7768
)
7869

79-
# Install launch files if any
8070
install(DIRECTORY launch/
8171
DESTINATION share/${PROJECT_NAME}/launch
8272
FILES_MATCHING PATTERN "*.py" PATTERN "*.yaml" PATTERN "*.md"
8373
)
8474

85-
# Install config files
8675
install(DIRECTORY config/
8776
DESTINATION share/${PROJECT_NAME}/config
8877
FILES_MATCHING PATTERN "*.yaml"
8978
)
9079

91-
9280
ament_package()

deep_tools/camera_sync/package.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<package format="3">
33
<name>camera_sync</name>
44
<version>0.1.0</version>
5-
<description>ROS2 CLI tool and nodes for ONNX model management and multi-camera synchronization</description>
6-
<maintainer email="hello@watonomous.ca">WATonomous</maintainer>
5+
<description>ROS2 node for multi-camera synchronization</description>
6+
<maintainer email="lereljic@watonomous.ca">Lereljic</maintainer>
77
<license>Apache 2.0</license>
88

99
<buildtool_depend>ament_cmake</buildtool_depend>

0 commit comments

Comments
 (0)