aboutsummaryrefslogtreecommitdiff
path: root/test/test.qbs
blob: 3088a90321663d3051f21934242f23930a25fa8e (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
import qbs
import qbs.Probes

Project {
    name: "Tests"
    
    Probes.PkgConfigProbe {
        id: libconfig
        name: "libconfig++"
    }

    // References aren't needed because test.qbs is the last reference in smolbote.qbs
//    references: [
//        "../lib/settings/settings.qbs"
//    ]

    CppApplication {
        name: "configtest"
        
        cpp.includePaths: ['../lib']
        cpp.cxxLanguageVersion: "c++17"
        cpp.cxxFlags: libconfig.cflags
        cpp.linkerFlags: libconfig.libs
        
        Depends {
            name: "Qt"
            versionAtLeast: "5.9.0"
            submodules: ["core"]
        }
        Depends { name: "settings" }
        
        files: [
            "config/config.qrc",
            "config/main.cpp",
        ]
        
    }
}