]> Creatis software - FrontAlgorithms.git/blobdiff - lib/CMakeLists.txt
...
[FrontAlgorithms.git] / lib / CMakeLists.txt
index 0afa2df52490a8686b810ce268d76ed1aa16f982..efe40caa8821fc1d9e9b7e6047ee99c570fb6186 100644 (file)
@@ -1,12 +1,21 @@
-IF(BUILD_TempAirwaysAppli)
-  SUBDIRS(
-    Airways
-    )
-ENDIF(BUILD_TempAirwaysAppli)
-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$