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 @@ ...@@ -4,17 +4,17 @@
### tools ### tools
SET(tools SET(tools
test_shell sot-shell
) )
### Configure shell launch script ### Configure shell launch script
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/shell.sh.cmake CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/sot-shell-plugin.sh.cmake
${${PROJECT_NAME}_BINARY_DIR}/tools/shell.sh) ${${PROJECT_NAME}_BINARY_DIR}/tools/sot-shell-plugin.sh)
INSTALL( INSTALL(
FILES FILES
${${PROJECT_NAME}_BINARY_DIR}/tools/shell.sh ${${PROJECT_NAME}_BINARY_DIR}/tools/sot-shell-plugin.sh
DESTINATION DESTINATION
bin/${PROJECT_NAME} bin
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ ) GROUP_EXECUTE GROUP_READ )
...@@ -39,6 +39,5 @@ FOREACH(tool_name ${tools}) ...@@ -39,6 +39,5 @@ FOREACH(tool_name ${tools})
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} dl) TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} dl)
ENDIF(UNIX) ENDIF(UNIX)
INSTALL(TARGETS ${tool_name} INSTALL(TARGETS ${tool_name} DESTINATION bin)
DESTINATION bin/${PROJECT_NAME}) ENDFOREACH(tool_name)
ENDFOREACH(tool_name)
\ No newline at end of file
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
echo "-- Launching dynamic-graph C shell with default plugins" 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-functions.so" > /tmp/default_script
echo "loadPlugin ${CMAKE_INSTALL_PREFIX}/lib/plugin/shell-procedure.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