SET(_pfx "") SET(_all_instances) ## =========================== ## == Compile each instance == ## =========================== FILE(GLOB _instances "${CMAKE_CURRENT_SOURCE_DIR}/*.i") FOREACH(_instance ${_instances}) CompileInstances( _lib_name ${_instance} ${cpPlugins_NUMBER_OF_FILES} "${_pfx}" "${prj_VERSION}" "${prj_SHORT_VERSION}" ) LIST(APPEND _all_instances ${_lib_name}) ENDFOREACH(_instance) SET( fpa_Instances ${_all_instances} CACHE INTERNAL "All valid instances." FORCE ) ## ==================== ## == Link libraries == ## ==================== TARGET_LINK_LIBRARIES( ${_pfx}fpa_MinimumSpanningTree ${ITK_LIBRARIES} ${VTK_LIBRARIES} ${cpPlugins_Instances} ) ## eof - $RCSfile$