]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 21 Nov 2016 16:56:30 +0000 (11:56 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 21 Nov 2016 16:56:30 +0000 (11:56 -0500)
lib/CMakeLists.txt

index b3bea387d974f6c46e602c12957f9aa8db646b80..d65d98bb8ce5fe0e08c90337f1595444ece38ded 100644 (file)
@@ -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$