Skip to content
Snippets Groups Projects
Commit df072e55 authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Install binaries in bin directory.

parent 61c02f05
No related branches found
No related tags found
No related merge requests found
......@@ -4,17 +4,17 @@
### tools
SET(tools
test_shell
sot-shell
)
### Configure shell launch script
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/shell.sh.cmake
${${PROJECT_NAME}_BINARY_DIR}/tools/shell.sh)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/sot-shell-plugin.sh.cmake
${${PROJECT_NAME}_BINARY_DIR}/tools/sot-shell-plugin.sh)
INSTALL(
FILES
${${PROJECT_NAME}_BINARY_DIR}/tools/shell.sh
${${PROJECT_NAME}_BINARY_DIR}/tools/sot-shell-plugin.sh
DESTINATION
bin/${PROJECT_NAME}
bin
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ )
......@@ -39,6 +39,5 @@ FOREACH(tool_name ${tools})
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} dl)
ENDIF(UNIX)
INSTALL(TARGETS ${tool_name}
DESTINATION bin/${PROJECT_NAME})
ENDFOREACH(tool_name)
\ No newline at end of file
INSTALL(TARGETS ${tool_name} DESTINATION bin)
ENDFOREACH(tool_name)
......@@ -2,4 +2,4 @@
echo "-- Launching dynamic-graph C shell with default plugins"
echo "loadPlugin ${CMAKE_INSTALL_PREFIX}/lib/plugin/shell-functions.so" > /tmp/default_script
echo "loadPlugin ${CMAKE_INSTALL_PREFIX}/lib/plugin/shell-procedure.so" >> /tmp/default_script
${CMAKE_INSTALL_PREFIX}/bin/${PROJECT_NAME}/test_shell /tmp/default_script
${CMAKE_INSTALL_PREFIX}/bin/sot-shell /tmp/default_script
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment