diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-02-01 16:44:26 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-02-01 16:53:20 +0200 |
commit | 4acb982e2d5b82ddfe603414665256323a25ad5e (patch) | |
tree | b137112d00a4340f0cf25b64ebe5926f505c3de2 /src/CMakeLists.txt | |
download | xdg-desktop-portal-tde-4acb982e2d5b82ddfe603414665256323a25ad5e.tar.gz xdg-desktop-portal-tde-4acb982e2d5b82ddfe603414665256323a25ad5e.zip |
Initial commit
Adds implementation of FileChooser interface
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..afcd9fd --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,42 @@ +################################################################################ +# XDG Desktop Portal implementation for TDE # +# Copyright (C) 2024 Mavridis Philippe <mavridisf@gmail.com> # +# # +# Improvements and feedback are welcome! # +# This software is licensed under the terms of the GNU GPL v3 license. # +################################################################################ + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${DBUS_TQT_INCLUDE_DIRS} + ${CMAKE_BINARY_DIR}/interfaces +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${DBUS_TQT_LIBRARY_DIRS} + ${CMAKE_BINARY_DIR}/interfaces +) + +tde_add_executable( + xdg-desktop-portal-tde AUTOMOC + + SOURCES + main.cpp + portal_service.cpp + file_chooser_portal.cpp + + LINK + tdecore-shared + tdeio-shared + ${DBUS_TQT_LIBRARIES} + portalinterfaces-static + + DESTINATION ${LIBEXEC_INSTALL_DIR} +) + +# kate: replace-tabs true; tab-width 4; indent-width 4;
\ No newline at end of file |