diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..6bb3f3e --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,43 @@ +add_subdirectory( icons ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${IMLIB2_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + +##### kompose (executable) +tde_add_executable( ${PROJECT_NAME} AUTOMOC + + SOURCES + main.cpp kompose.cpp komposetaskmanager.cpp komposetask.cpp + komposewidget.cpp komposetaskwidget.cpp komposedesktopwidget.cpp komposelayout.cpp + komposesystray.cpp komposefullscreenwidget.cpp komposesettings.cpp komposepreferences.cpp + komposetaskprefswidget.cpp komposeglobal.cpp komposetaskcontainerwidget.cpp + komposetaskvisualizer.cpp komposeviewmanager.cpp komposedcopiface.skel + + LINK + tdecore-shared + tdeui-shared + ${IMLIB2_LIBRARIES} + + DESTINATION ${BIN_INSTALL_DIR} +) + +##### create translated desktop files + +tde_create_translated_desktop( kompose.desktop ) + +##### install XML-GUI resource file +install( + FILES komposeui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) |