tdegraphics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #################################################
  2. #
  3. # (C) 2010-2011 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. add_subdirectory( cursors )
  12. add_subdirectory( pics )
  13. add_subdirectory( pixmapfx )
  14. add_subdirectory( tools )
  15. add_subdirectory( views )
  16. add_subdirectory( widgets )
  17. include_directories(
  18. ${CMAKE_CURRENT_BINARY_DIR}
  19. ${CMAKE_CURRENT_SOURCE_DIR}
  20. ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx
  21. ${CMAKE_CURRENT_SOURCE_DIR}/tools
  22. ${CMAKE_CURRENT_SOURCE_DIR}/views
  23. ${CMAKE_CURRENT_SOURCE_DIR}/widgets
  24. ${TDE_INCLUDE_DIR}
  25. ${TQT_INCLUDE_DIRS}
  26. )
  27. link_directories(
  28. ${TQT_LIBRARY_DIRS}
  29. )
  30. ##### other data ################################
  31. install( FILES kolourpaint.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
  32. install( FILES kolourpaintui.rc DESTINATION ${DATA_INSTALL_DIR}/kolourpaint )
  33. ##### kolourpaint (executable) ##################
  34. tde_file_to_cpp( COPYING kolourpaintlicense.h kpLicenseText )
  35. tde_file_to_cpp( VERSION kolourpaintversion.h kpVersionText )
  36. tde_add_executable( kolourpaint AUTOMOC
  37. SOURCES
  38. kolourpaint.cpp kpdocument.cpp kpdocumentmetainfo.cpp
  39. kpdocumentsaveoptions.cpp kpdocumentsaveoptionswidget.cpp
  40. kpview.cpp kpcolor.cpp kpcommandhistory.cpp kpmainwindow.cpp
  41. kpmainwindow_edit.cpp kpmainwindow_help.cpp
  42. kpmainwindow_image.cpp kpmainwindow_tools.cpp
  43. kpmainwindow_file.cpp kpmainwindow_settings.cpp
  44. kpmainwindow_statusbar.cpp kpmainwindow_text.cpp
  45. kpmainwindow_view.cpp kpselection.cpp kpselectiondrag.cpp
  46. kpselectiontransparency.cpp kpsinglekeytriggersaction.cpp
  47. kptemppixmap.cpp kptextstyle.cpp kpthumbnail.cpp kptool.cpp
  48. kpviewmanager.cpp kpviewscrollablecontainer.cpp kpwidgetmapper.cpp
  49. LINK
  50. kolourpainttools-static kolourpaintpixmapfx-static kolourpaintcursors-static
  51. kolourpaintviews-static kolourpaintwidgets-static
  52. tdeprint-shared
  53. DESTINATION ${BIN_INSTALL_DIR}
  54. )