Skip to content

Commit

Permalink
CmakeList changes for env hooks and plugins (space-ros#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
namikxgithub authored and mkhansenbot committed Sep 9, 2024
1 parent 770b653 commit 225b636
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions custom_gz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,16 @@ if(BUILD_TESTING)
ament_lint_auto_find_test_dependencies()
endif()

install(
DIRECTORY
src
DESTINATION
share/${PROJECT_NAME}/
)

add_subdirectory(src/DayLightManager)
add_subdirectory(src/DustManager)

ament_environment_hooks("${CMAKE_CURRENT_SOURCE_DIR}/hooks/${PROJECT_NAME}.dsv.in")

ament_package()
2 changes: 1 addition & 1 deletion custom_gz_plugins/hooks/simulation.dsv.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share
prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/simulation/models
prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/custom_gz_plugins_pkg/models

0 comments on commit 225b636

Please sign in to comment.