--- /dev/null
+## ============================
+## == Configure source files ==
+## ============================
+
+SET(_pfx example_plugins)
+SET(
+ _all_progs
+ test
+ GuessPlugins
+ LoadPluginsFile
+ LoadPluginsDirectory
+ CreateCylinderAndSave
+ )
+
+## ==========================
+## == Compile source files ==
+## ==========================
+
+INCLUDE_DIRECTORIES(
+ ${PROJECT_SOURCE_DIR}/lib
+ ${PROJECT_BINARY_DIR}/lib
+ )
+FOREACH(_s ${_all_progs})
+ ADD_EXECUTABLE(${_pfx}_${_s} ${_s}.cxx)
+ TARGET_LINK_LIBRARIES(${_pfx}_${_s} cpPlugins)
+ENDFOREACH(_s)
+
+## eof - $RCSfile$