CMakeLists.txt 820 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. project(ctkQtTesting)
  2. #
  3. # See CTK/CMake/ctkMacroBuildApp.cmake for details
  4. #
  5. set(KIT_SRCS
  6. ctkQtTestingMain.cpp
  7. ctkQtTestingMainWindow.cpp
  8. ctkQtTestingMainWindow.h
  9. )
  10. # Headers that should run through moc
  11. set(KIT_MOC_SRCS
  12. ctkQtTestingMainWindow.h
  13. )
  14. # UI files
  15. set(KIT_UI_FORMS
  16. ctkQtTestingMainWindow.ui
  17. )
  18. # Resources
  19. set(KIT_resources
  20. )
  21. # Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake
  22. # The following macro will read the target libraries from the file 'target_libraries.cmake'
  23. ctkFunctionGetTargetLibraries(KIT_target_libraries)
  24. ctkMacroBuildApp(
  25. NAME ${PROJECT_NAME}
  26. SRCS ${KIT_SRCS}
  27. MOC_SRCS ${KIT_MOC_SRCS}
  28. UI_FORMS ${KIT_UI_FORMS}
  29. TARGET_LIBRARIES ${KIT_target_libraries}
  30. RESOURCES ${KIT_resources}
  31. )
  32. # Testing
  33. if(BUILD_TESTING)
  34. # add_subdirectory(Testing)
  35. endif()