aboutsummaryrefslogtreecommitdiff
path: root/baseconfig
blob: 7ca05c91abccd2bdfcbc9c8a85d4cfd7a725053d (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
mainmenu "smolbote configuration"

comment "Build"
menu "Compiler settings"
    config CXX_FLAGS
        string "Compiler Flags"
        help
            Compiler flags that should be applied to both Debug and Release builds.
        default "-pipe -fstack-protector-strong -fno-plt -fPIE"

    config CXX_FLAGS_DEBUG
        string "Debug Flags"
        help
            Compiler flags that should be applied to Debug builds. These flags, together with the Compiler Flags, are appended to CMAKE_CXX_FLAGS_DEBUG.
        default ""

    config CXX_FLAGS_RELEASE
        string "Release Flags"
        help
            Compiler flags that should be applied to Release builds. These flags, together with the Compiler Flags, are appended to CMAKE_CXX_FLAGS_RELEASE.
            - -march=native -mtune=native will build executables that are optimized for the build environment's native arch.
        default ""
endmenu

menu "Install paths"
    config INSTALL_PREFIX
        string "Install prefix"
        default "/usr/local"
    config INSTALL_BIN
        string "bin/ prefix"
        default "bin"
    config INSTALL_LIB
        string "lib/ prefix"
        default "lib/smolbote"
endmenu

comment "Branding"
config POI_NAME
    string "Application name"
    default "smolbote"
config POI_EXE
    string "Executable name"
    default "poi"

comment "Browser configuration"
menu "Configuration defaults"
    config PATH_CONFIG
        string "Configuration location"
        default "~/.config/smolbote/smolbote.cfg"
    config PATH_CRASHDUMP
        string "Crash dump location"
        default "~/.config/smolbote/crash.d"
    config PATH_FILTER
        string "Host filter path"
        default "~/.config/smolbote/host.d"
    config PATH_PLUGINS
        string "Plugin load location"
        default "~/.config/smolbote/plugins.d"
    config PATH_PROFILES
        string "Profile load location"
        default "~/.config/smolbote/profiles.d"
    config PATH_BOOKMARKS
        string "Bookmarks location"
        default "~/.config/smolbote/bookmarks.xbel"
    config PATH_DOWNLOADS
        string "Downloads location"
        default "~/Downloads"
endmenu

config USEPLASMA
    bool "Enable KDE Frameworks integration"
    default n
    help
        This is a help message

config USEBREAKPAD
    bool "Enable Breakpad integration"
    default n

comment "Devel"
config QTWARNINGS
    bool "Enable Qt deprecated API warnings"
    default y

config TESTS
    bool "Build tests"
    default n

config LLVMLIBCPP
    bool "Link against the LLVM C++ standard library"
    default n