From: Leonardo Flórez-Valencia Date: Mon, 21 Nov 2016 16:56:30 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=86a6d5df2aa1aa5292a5fa851d98bfc13939bdf3;p=FrontAlgorithms.git ... --- diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index b3bea38..d65d98b 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -2,26 +2,12 @@ ## == Build a library from a directory == ## ====================================== -CompileLibFromDir(fpa SHARED ${CMAKE_CURRENT_SOURCE_DIR}/fpa) +CompileLibFromDir(fpa SHARED fpa) ## =================================== ## == Build instances for cpPlugins == ## =================================== -SET(fpa_DynLibs "${CMAKE_INSTALL_PREFIX}/bin|fpa") -LIST(APPEND fpa_DynLibs "${CMAKE_INSTALL_PREFIX}/lib|fpa") -LIST(APPEND fpa_DynLibs "${LIBRARY_OUTPUT_PATH}|fpa") -IF(USE_cpPlugins) - SUBDIRS(Instances) - FOREACH(_lib ${fpa_Instances}) - LIST(APPEND fpa_DynLibs "${CMAKE_INSTALL_PREFIX}/bin|${_lib}") - LIST(APPEND fpa_DynLibs "${CMAKE_INSTALL_PREFIX}/lib|${_lib}") - LIST(APPEND fpa_DynLibs "${LIBRARY_OUTPUT_PATH}|${_lib}") - ENDFOREACH(_lib) -ENDIF(USE_cpPlugins) -FILE(WRITE ${PROJECT_BINARY_DIR}/cpPlugins_Libraries.config "") -FOREACH(_lib ${fpa_DynLibs}) - FILE(APPEND ${PROJECT_BINARY_DIR}/cpPlugins_Libraries.config "${_lib}\n") -ENDFOREACH(_lib) +SUBDIRS(fpaInstances) ## eof - $RCSfile$