File: CMakeLists.txt

package info (click to toggle)
gammaray 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,620 kB
  • sloc: cpp: 94,712; ansic: 2,227; sh: 336; python: 164; yacc: 90; lex: 82; xml: 61; makefile: 32
file content (68 lines) | stat: -rw-r--r-- 2,013 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This file is part of GammaRay, the Qt application inspection and manipulation tool.
#
# SPDX-FileCopyrightText: 2016 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Contact KDAB at <info@kdab.com> for commercial licensing options.
#

# probe plugin
if(NOT GAMMARAY_CLIENT_ONLY_BUILD)
    set(gammaray_network_srcs
        cookies/cookieextension.cpp
        cookies/cookieextension.h
        cookies/cookiejarmodel.cpp
        cookies/cookiejarmodel.h
        networkinterfacemodel.cpp
        networkinterfacemodel.h
        networkreplymodel.cpp
        networkreplymodel.h
        networksupport.cpp
        networksupport.h
        networksupportinterface.cpp
        networksupportinterface.h
    )

    gammaray_add_plugin(
        gammaray_network
        JSON
        gammaray_network.json
        SOURCES
        ${gammaray_network_srcs}
    )
    target_link_libraries(gammaray_network gammaray_core Qt::Network Qt::CorePrivate)
    set_target_properties(gammaray_network PROPERTIES DISABLE_PRECOMPILE_HEADERS ON)
endif()

# ui plugin
if(GAMMARAY_BUILD_UI)
    set(gammaray_network_ui_srcs
        clientnetworkconfigurationmodel.cpp
        clientnetworkconfigurationmodel.h
        clientnetworkreplymodel.cpp
        clientnetworkreplymodel.h
        cookies/cookietab.cpp
        cookies/cookietab.h
        networkconfigurationwidget.cpp
        networkconfigurationwidget.h
        networkinterfacewidget.cpp
        networkinterfacewidget.h
        networkreplywidget.cpp
        networkreplywidget.h
        networksupportclient.cpp
        networksupportclient.h
        networksupportinterface.cpp
        networksupportinterface.h
        networkwidget.cpp
        networkwidget.h
    )
    gammaray_add_plugin(
        gammaray_network_ui
        JSON
        gammaray_network.json
        SOURCES
        ${gammaray_network_ui_srcs}
    )
    target_link_libraries(gammaray_network_ui gammaray_ui Qt::Network)
endif()