Skip to content

Commit

Permalink
Tick-tock generated libs
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 17, 2022
1 parent fccff8d commit 0c4e92f
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugins/joy_to_twist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ target_link_libraries(${plugin}
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})

# TODO(CH3): Deprecated. Remove on tock.
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
libgz-launch-joytotwist.so
libignition-launch-joytotwist.so
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
install (FILES ${PROJECT_BINARY_DIR}/lib/libignition-launch-joytotwist.so
DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
8 changes: 8 additions & 0 deletions plugins/joystick/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ target_link_libraries(${plugin}
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})

# TODO(CH3): Deprecated. Remove on tock.
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
libgz-launch-joystick.so
libignition-launch-joystick.so
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
install (FILES ${PROJECT_BINARY_DIR}/lib/libignition-launch-joystick.so
DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
8 changes: 8 additions & 0 deletions plugins/sim_factory/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ target_link_libraries(${plugin_lower}
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})

# TODO(CH3): Deprecated. Remove on tock.
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
libgz-launch-sim-factory.so
libignition-launch-sim-factory.so
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
install (FILES ${PROJECT_BINARY_DIR}/lib/libignition-launch-sim-factory.so
DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
8 changes: 8 additions & 0 deletions plugins/sim_gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ target_link_libraries(${plugin_lower}
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})

# TODO(CH3): Deprecated. Remove on tock.
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
libgz-launch-simgui.so
libignition-launch-simgui.so
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
install (FILES ${PROJECT_BINARY_DIR}/lib/libignition-launch-simgui.so
DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
8 changes: 8 additions & 0 deletions plugins/sim_server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ target_link_libraries(${plugin_lower}
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})

# TODO(CH3): Deprecated. Remove on tock.
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
libgz-launch-sim.so
libignition-launch-sim.so
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
install (FILES ${PROJECT_BINARY_DIR}/lib/libignition-launch-sim.so
DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
8 changes: 8 additions & 0 deletions plugins/websocket_server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,12 @@ if (websockets_FOUND)
)

install (TARGETS ${plugin} DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})

# TODO(CH3): Deprecated. Remove on tock.
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink
libgz-launch-websocket-server.so
libignition-launch-websocket-server.so
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
install (FILES ${PROJECT_BINARY_DIR}/lib/libignition-launch-websocket-server.so
DESTINATION ${GZ_LAUNCH_PLUGIN_INSTALL_PATH})
endif()

0 comments on commit 0c4e92f

Please sign in to comment.