strip a lot debug stuff

This commit is contained in:
2026-02-17 00:29:07 +01:00
parent 4f7227c0e9
commit 34aa2655e7

View File

@@ -4,6 +4,9 @@ project(video_to_rosbag)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Release")
add_link_options("-s") # or use CMAKE_EXE_LINKER_FLAGS_RELEASE
endif()
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)