Skip to content

Commit

Permalink
move private headers to src/
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin committed Nov 6, 2024
1 parent 52b1eb8 commit 2a56d33
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions map/autoware_lanelet2_map_validator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@ autoware_package()
ament_auto_find_build_dependencies()
find_package(nlohmann_json REQUIRED)

include_directories(
include
)

file(GLOB_RECURSE autoware_lanelet2_map_validator_lib_src
src/common/*.cpp
src/validators/*.cpp
)

ament_auto_add_library(autoware_lanelet2_map_validator_lib SHARED
${autoware_lanelet2_map_validator_lib_src}
)

ament_auto_add_executable(autoware_lanelet2_map_validator src/main.cpp)
add_dependencies(autoware_lanelet2_map_validator autoware_lanelet2_map_validator_lib)
target_include_directories(
autoware_lanelet2_map_validator_lib PUBLIC
src/include
)

ament_auto_add_executable(autoware_lanelet2_map_validator
src/main.cpp
)

target_link_libraries(autoware_lanelet2_map_validator
autoware_lanelet2_map_validator_lib
nlohmann_json
Expand All @@ -32,7 +36,6 @@ if(BUILD_TESTING)
${VALIDATION_NAME}_test
test/src/test_${VALIDATION_NAME}.cpp
)
target_include_directories(${VALIDATION_NAME}_test PUBLIC include)
target_link_libraries(
${VALIDATION_NAME}_test
autoware_lanelet2_map_validator_lib
Expand Down

0 comments on commit 2a56d33

Please sign in to comment.