Skip to content
Snippets Groups Projects
Commit e8d57cbf authored by Julien Malik's avatar Julien Malik
Browse files

ENH: add a specific script to start each application more easily

parent 08c79839
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,14 @@ macro(OTB_CREATE_APPLICATION)
if (APPLICATION_INSTALL_PATH)
install(TARGETS ${APPLICATION_TARGET_NAME}
LIBRARY DESTINATION ${APPLICATION_INSTALL_PATH})
if (NOT WIN32)
configure_file( ${CMAKE_SOURCE_DIR}/CMake/otbcli.sh.in
${CMAKE_CURRENT_BINARY_DIR}/otbcli_${APPLICATION_NAME}.sh
@ONLY )
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/otbcli_${APPLICATION_NAME}.sh
DESTINATION ${OTB_INSTALL_BIN_DIR_CM24})
endif(NOT WIN32)
endif()
list(APPEND OTB_APPLICATIONS_NAME_LIST ${APPLICATION_NAME})
......
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