| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | project(ctkEventBusDemo)## See CTK/CMake/ctkMacroBuildApp.cmake for details#set(KIT_SRCS  ctkEventBusDemoMain.cpp  ctkEventBusDemoMainWindow.cpp  ctkEventBusDemoMainWindow.h)# Headers that should run through mocset(KIT_MOC_SRCS  ctkEventBusDemoMainWindow.h)# UI filesset(KIT_UI_FORMS  ctkEventBusDemoMainWindow.ui)# Resourcesset(KIT_resources  )# Target libraries - See CMake/ctkMacroGetTargetLibraries.cmake# The following macro will read the target libraries from the file 'target_libraries.cmake'ctkFunctionGetTargetLibraries(KIT_target_libraries)# Additional directories to include - Note that CTK_INCLUDE_LIBRARIES is already includedset(KIT_include_directories)# Fix this after having discussed include dependencies with Jcforeach(_dep ${${PROJECT_NAME}_DEPENDENCIES})  include_directories(${${_dep}_SOURCE_DIR} ${${_dep}_BINARY_DIR})endforeach()ctkMacroBuildApp(  NAME ${PROJECT_NAME}  INCLUDE_DIRECTORIES ${KIT_include_directories}  SRCS ${KIT_SRCS}  MOC_SRCS ${KIT_MOC_SRCS}  UI_FORMS ${KIT_UI_FORMS}  TARGET_LIBRARIES ${KIT_target_libraries}  RESOURCES ${KIT_resources}  )# Testingif(BUILD_TESTING)#   add_subdirectory(Testing)endif()
 |