aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/trackExternalProductChanges/trackExternalProductChanges.qbs
blob: 0e28e56877e93e3ff47fa95f70102f2f6dcf4532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import qbs.Environment
import "fileList.js" as FileList

CppApplication {
    property stringList filesFromEnv: Environment.getEnv("QBS_TEST_PULL_IN_FILE_VIA_ENV")
                                      ? ["environmentChange.cpp"] : []
    files: ["main.cpp"].concat(FileList.fileList()).concat(filesFromEnv).concat(FileList.filesFromFs(path))

    Group {
        condition: Environment.getEnv("INCLUDE_PATH_TEST")
        name: "file that needs help from the environment to find a header"
        files: "including.cpp"
    }
    Probe {
        id: checker
        property bool isGcc: qbs.toolchain.contains("gcc")
        configure: { console.info("is gcc: " + isGcc); }
    }
}