## == 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$