aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/api.qbs
blob: 887bb999aa45f85c68a714b54c8df7d2f1e3072a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import qbs

QbsAutotest {
    testName: "api"
    files: ["../shared.h", "tst_api.h", "tst_api.cpp"]
    // TODO: Use Utilities.cStringQuote
    cpp.defines: base.concat([
        'SRCDIR="' + path + '"',
        'QBS_RELATIVE_LIBEXEC_PATH="' + qbsbuildconfig.relativeLibexecPath + '"',
        'QBS_RELATIVE_SEARCH_PATH="' + qbsbuildconfig.relativeSearchPath + '"',
        'QBS_RELATIVE_PLUGINS_PATH="' + qbsbuildconfig.relativePluginsPath + '"'
    ]).concat(qbsbuildconfig.enableProjectFileUpdates ? ["QBS_ENABLE_PROJECT_FILE_UPDATES"] : [])

    Group {
        name: "testdata"
        prefix: "testdata/"
        files: ["**/*"]
        fileTags: []
    }
}