-
Notifications
You must be signed in to change notification settings - Fork 1
/
pc_fancontrol.qbs
69 lines (56 loc) · 1.17 KB
/
pc_fancontrol.qbs
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import qbs
Project {
minimumQbsVersion: "1.22.0"
references: [
"src/src.qbs",
"src/yaml-cpp.qbs",
"test/test.qbs"
]
CppApplication { name: "fancontrol"
Depends { name: "yaml-cpp" }
Depends { name: "src" }
consoleApplication: true
cpp.optimization: undefined
cpp.cFlags: [
"-std=c17"
]
cpp.cxxFlags: [
"-std=c++20"
]
cpp.commonCompilerFlags: [
"-Wall", "-Wextra"
]
cpp.driverFlags: [
"-flto=auto", "-O3"
]
cpp.dynamicLibraries: [
"pthread"
]
Group { name: "main"
prefix: "src/"
files: [
"controller.cpp",
"controller.h",
"configentry.h",
"config.cpp",
"config.h",
"main.cpp",
"main.h",
]
}
Group { name: "resource"
prefix: "config/"
files: [
"fancontrol.yaml",
"fancontrol.service",
]
}
} //CppApplication
CppApplication { name: "tests"
type: base.concat("autotest")
condition: false
builtByDefault: false
Depends { name: "test" }
}
AutotestRunner { }
} //Project