Open
Description
With #213 it is straightforward to use a complete cpp library within another package. But how can I use a custom_validator file from a different package?
Is there a smarter way to include the file from here to another library than
find_package(control_toolbox)
# get include dirs from control_toolbox for the custom validators
get_target_property(TB_INCLUDE_DIRS control_toolbox::rate_limiter_parameters INTERFACE_INCLUDE_DIRECTORIES)
generate_parameter_library(diff_drive_controller_parameters
src/diff_drive_controller_parameter.yaml
${TB_INCLUDE_DIRS}/control_toolbox/custom_validators.hpp
)
@AugusteBourgois any suggestions?
Changing the macro here to avoid a COPY but just use the correct include path control_toolbox/custom_validators.hpp
?
Metadata
Metadata
Assignees
Labels
No labels