blob: 49ee35d3a34161063388874f71ed6da04a674749 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Project {
CppApplication {
name: "testApp"
type: ["application", "autotest"]
Depends { name: "autotest" }
cpp.cxxLanguageVersion: "c++11"
cpp.minimumOsxVersion: "10.8" // For <chrono>
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")
}
}
}
|