-IF(BUILD_PLUGINS)
- SUBDIRS(
- fpa_Instances
- )
-ENDIF(BUILD_PLUGINS)
+## ======================================
+## == Build a library from a directory ==
+## ======================================
+
+LibFromDir(
+ fpa
+ ${PROJECT_BINARY_DIR}/lib
+ SHARED
+ ${CMAKE_CURRENT_SOURCE_DIR}/fpa
+ "${prj_VERSION}" "${prj_SHORT_VERSION}"
+ )
+
+## ===================================
+## == Build instances for cpPlugins ==
+## ===================================
+
+IF(USE_cpPlugins)
+ SUBDIRS(Instances)
+ENDIF(USE_cpPlugins)
## eof - $RCSfile$