X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fbash%2FCMakeLists.txt;h=7d9154ca54ccf8fcb49076c81e52fabbc41e80fc;hb=a7142bafa94bd9f1d1fd9df4c11d5356676cf419;hp=33785d170abd36d355c24699423e3d8cb88ec74a;hpb=c3c3da5217b6eb255db9c0424f22d4e01250901e;p=cpPlugins.git diff --git a/appli/bash/CMakeLists.txt b/appli/bash/CMakeLists.txt index 33785d1..7d9154c 100644 --- a/appli/bash/CMakeLists.txt +++ b/appli/bash/CMakeLists.txt @@ -1,15 +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) - TARGET_LINK_LIBRARIES(${prog} ${Boost_LIBRARIES}) -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$