Get package version directly from ament
This commit is contained in:
parent
e7ed83217e
commit
d0425d2c57
3 changed files with 3 additions and 3 deletions
|
@ -99,3 +99,5 @@ if(BUILD_TESTING)
|
|||
endif()
|
||||
|
||||
ament_package()
|
||||
|
||||
add_definitions("-D${PROJECT_NAME}_VERSION=\"${${PROJECT_NAME}_VERSION}\"")
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#define TRACEPOINT(event_name, ...) \
|
||||
(ros_trace_ ## event_name)(__VA_ARGS__)
|
||||
|
||||
#define TRACETOOLS_VERSION "0.0.1"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ void TRACEPOINT(
|
|||
ros2,
|
||||
rcl_init,
|
||||
context_handle,
|
||||
TRACETOOLS_VERSION);
|
||||
tracetools_VERSION);
|
||||
}
|
||||
|
||||
void TRACEPOINT(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue