File: CMakeLists.txt

package info (click to toggle)
lxqt-panel 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 15,748 kB
  • sloc: cpp: 27,548; xml: 798; makefile: 19
file content (46 lines) | stat: -rw-r--r-- 791 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
set(PLUGIN "tray")

include(CheckLibraryExists)

find_package(XCB
    REQUIRED COMPONENTS
        XCB
        XFIXES
        DAMAGE
        COMPOSITE
        RANDR
        SHM
        UTIL
        IMAGE
        SHAPE
)
find_package(PkgConfig)
pkg_check_modules(xtst REQUIRED xtst)

set(HEADERS
    xtestsender.h
    xcbutils.h
    sniproxy.h
    snidbus.h
    fdoselectionmanager.h
    lxqttrayplugin.h
)

set(SOURCES
    xtestsender.cpp
    sniproxy.cpp
    snidbus.cpp
    fdoselectionmanager.cpp
    lxqttrayplugin.cpp
)

qt_add_dbus_adaptor(SOURCES org.kde.StatusNotifierItem.xml sniproxy.h SNIProxy)
qt_add_dbus_interface(SOURCES org.kde.StatusNotifierWatcher.xml statusnotifierwatcher_interface)

set(LIBRARIES
    ${XCB_LIBRARIES}
    ${xtst_LDFLAGS}
)


BUILD_LXQT_PLUGIN(${PLUGIN})