| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 | project(ctkCommandLineModuleExplorer)## See CTK/CMake/ctkMacroBuildApp.cmake for details#set(KIT_SRCS  ctkCommandLineModuleExplorerMain.cpp  ctkCmdLineModuleExplorerConstants.cpp  ctkCmdLineModuleExplorerDirectorySettings.cpp  ctkCmdLineModuleExplorerGeneralModuleSettings.cpp  ctkCmdLineModuleExplorerMainWindow.h  ctkCmdLineModuleExplorerMainWindow.cpp  ctkCmdLineModuleExplorerModulesSettings.cpp  ctkCmdLineModuleExplorerOutputText.cpp  ctkCmdLineModuleExplorerProgressListWidget.cpp  ctkCmdLineModuleExplorerProgressWidget.cpp  ctkCmdLineModuleExplorerShowXmlAction.cpp  ctkCmdLineModuleExplorerTabList.cpp  ctkCmdLineModuleExplorerTreeWidget.cpp  ctkCmdLineModuleExplorerUtils.cpp)# Headers that should run through mocset(KIT_MOC_SRCS  ctkCmdLineModuleExplorerDirectorySettings.h  ctkCmdLineModuleExplorerGeneralModuleSettings.h  ctkCmdLineModuleExplorerMainWindow.h  ctkCmdLineModuleExplorerModulesSettings.h  ctkCmdLineModuleExplorerOutputText.h  ctkCmdLineModuleExplorerProgressListWidget.h  ctkCmdLineModuleExplorerProgressWidget.h  ctkCmdLineModuleExplorerShowXmlAction.h  ctkCmdLineModuleExplorerTabList.h  ctkCmdLineModuleExplorerTreeWidget.h)# UI filesset(KIT_UI_FORMS  ctkCmdLineModuleExplorerDirectorySettings.ui  ctkCmdLineModuleExplorerGeneralModuleSettings.ui  ctkCmdLineModuleExplorerMainWindow.ui  ctkCmdLineModuleExplorerModulesSettings.ui  ctkCmdLineModuleExplorerProgressWidget.ui)# Resourcesset(KIT_resources  resources/ctkCmdLineModuleExplorer.qrc)set(QT_USE_QTUITOOLS 1)include(${QT_USE_FILE})# Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake# The following macro will read the target libraries from the file 'target_libraries.cmake'ctkFunctionGetTargetLibraries(KIT_target_libraries)ctkMacroBuildApp(  NAME ${PROJECT_NAME}  SRCS ${KIT_SRCS}  MOC_SRCS ${KIT_MOC_SRCS}  UI_FORMS ${KIT_UI_FORMS}  TARGET_LIBRARIES ${KIT_target_libraries}  RESOURCES ${KIT_resources}  )target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES})# Testingif(BUILD_TESTING)#   add_subdirectory(Testing)endif()
 |