X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fbash%2FCMakeLists.txt;h=7d9154ca54ccf8fcb49076c81e52fabbc41e80fc;hb=a7142bafa94bd9f1d1fd9df4c11d5356676cf419;hp=da6d729411fe3d264010b8cfebabc221c9bf6367;hpb=b07ef139fe5264b87e1f95dc43671ef5705eb3f7;p=cpPlugins.git diff --git a/appli/bash/CMakeLists.txt b/appli/bash/CMakeLists.txt index da6d729..7d9154c 100644 --- a/appli/bash/CMakeLists.txt +++ b/appli/bash/CMakeLists.txt @@ -1,14 +1,17 @@ -## ========================= -## = Command line programs = -## ========================= - SET( - BASH_PROGRAMS - cpPlugins_createHost + bash_SOURCES + cpPlugins_HostCreator + cpPlugins_CreateInstances ) -FOREACH(prog ${BASH_PROGRAMS}) - ADD_EXECUTABLE(${prog} ${prog}.cxx) -ENDFOREACH(prog) +FOREACH(program ${bash_SOURCES}) + ADD_EXECUTABLE(${program} ${program}.cxx) + INSTALL( + TARGETS ${program} + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib/static + ) +ENDFOREACH(program) ## eof - $RCSfile$