blob: d4f01895fe17d1d5c60f8c37212efac973ec83e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Project {
CppApplication {
name: "testApp"
type: ["application", "autotest"]
Depends { name: "autotest" }
cpp.cxxLanguageVersion: "c++11"
Properties {
condition: qbs.toolchain.contains("gcc")
cpp.driverFlags: "-pthread"
}
files: "test-main.cpp"
}
AutotestRunner {
Depends {
name: "cpp" // Make sure build environment is set up properly.
condition: qbs.hostOS.contains("windows") && qbs.toolchain.contains("gcc")
}
}
}
|