File: CMakeLists.txt

package info (click to toggle)
kcachegrind 4%3A25.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,964 kB
  • sloc: cpp: 32,149; xml: 403; perl: 325; python: 235; sh: 8; makefile: 6
file content (43 lines) | stat: -rw-r--r-- 770 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
add_executable(qcachegrind)

qt6_wrap_ui(qcachegrind_UI_SRCS
    generalsettings.ui
    sourcesettings.ui
    colorsettings.ui
)

target_sources(qcachegrind PRIVATE
    ${qcachegrind_UI_SRCS}
    qcgmain.cpp
    qcgtoplevel.cpp
    qcgconfig.cpp
    configdialog.cpp
    configpage.cpp
    qtcolorbutton.cpp
    generalsettings.cpp
    sourcesettings.cpp
    colorsettings.cpp

    qcgtoplevel.h
    qcgconfig.h
    configdialog.h
    configpage.h
    qtcolorbutton.h
    generalsettings.h
    sourcesettings.h
    colorsettings.h

    qcachegrind.qrc
)

target_link_libraries(qcachegrind
    views
    core
    Qt6::Core
    Qt6::Gui
    Qt6::Widgets
    Qt6::DBus
)

# do not install example code...
# install(TARGETS qcachegrind ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )