From bc0e3cfb4168fbc286034f0ee8d27319ffd1e945 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Thu, 28 Mar 2024 23:03:20 +0100 Subject: [PATCH] Generate version header with ament_generate_version_header function (#190) Signed-off-by: Sai Kishor Kothakota --- CMakeLists.txt | 1 + package.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a41b519..edca5d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -181,3 +181,4 @@ install( LIBRARY DESTINATION lib RUNTIME DESTINATION bin ) +ament_generate_version_header(${PROJECT_NAME}) diff --git a/package.xml b/package.xml index f02d38c..48f284e 100644 --- a/package.xml +++ b/package.xml @@ -16,6 +16,7 @@ Michael Jeronimo ament_cmake + ament_cmake_gen_version_h ament_cmake_ros rcutils