| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | PROJECT(CTKCore)# CMake modulesSET(CMAKE_MODULE_PATH ${CTKCore_SOURCE_DIR}/CMake ${CMAKE_MODULE_PATH})# CMake MacrosINCLUDE(CMake/ctkMacroBFDCheck.cmake)## See CTK/CMake/ctkMacroBuildLib.cmake for details#SET(KIT_export_directive "CTK_CORE_EXPORT")# Source filesSET(KIT_SRCS  ctkAbstractFactory.h  ctkAbstractFactory.tpp  ctkAbstractObjectFactory.h  ctkAbstractObjectFactory.tpp  ctkAbstractPluginFactory.h  ctkAbstractPluginFactory.tpp  ctkAbstractQObjectFactory.h  ctkAbstractQObjectFactory.tpp  ctkAbstractLibraryFactory.h  ctkAbstractLibraryFactory.tpp  ctkCommandLineParser.cpp  ctkCommandLineParser.h  ctkDependencyGraph.cpp  ctkDependencyGraph.h  ctkLogger.cpp  ctkLogger.h  ctkHistogram.cpp  ctkHistogram.h  ctkModelTester.cpp  ctkModelTester.h  ctkPimpl.h  ctkSingleton.h  ctkTransferFunction.cpp  ctkTransferFunction.h  ctkTransferFunctionRepresentation.cpp  ctkTransferFunctionRepresentation.h  ctkUtils.cpp  ctkUtils.h  ctkWorkflow.h  ctkWorkflow.cpp  ctkWorkflowStep.h  ctkWorkflowStep.cpp  ctkWorkflowStep_p.h  ctkWorkflowTransitions.h  )IF(CTK_HAVE_BFD)  LIST(APPEND KIT_SRCS    ctkBinaryFileDescriptor.cpp    ctkBinaryFileDescriptor.h    )ENDIF()# Headers that should run through mocSET(KIT_MOC_SRCS  ctkLogger.h   ctkHistogram.h  ctkModelTester.h  ctkTransferFunction.h  ctkTransferFunctionRepresentation.h  ctkWorkflow.h  ctkWorkflowStep_p.h ctkWorkflowTransitions.h  )# UI filesSET(KIT_UI_FORMS)# ResourcesSET(KIT_resources)# Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake# The following macro will read the target libraries from the file 'target_libraries.cmake'SET(KIT_target_libraries)ctkMacroGetTargetLibraries(KIT_target_libraries)ctkMacroBuildLib(  NAME ${PROJECT_NAME}  EXPORT_DIRECTIVE ${KIT_export_directive}  SRCS ${KIT_SRCS}  MOC_SRCS ${KIT_MOC_SRCS}  UI_FORMS ${KIT_UI_FORMS}  TARGET_LIBRARIES ${KIT_target_libraries}  RESOURCES ${KIT_resources}  LIBRARY_TYPE ${CTK_LIBRARY_MODE}  )# TestingIF(BUILD_TESTING)  ADD_SUBDIRECTORY(Testing)ENDIF(BUILD_TESTING)
 |