Commit 3a78710
authored
♻️ Refactor CMake Configuration (#211)
## Description
This PR builds on cda-tum/dd_package#125 as well
as munich-quantum-toolkit/core#246 and refactors the overall
CMake configuration.
The newly enabled compiler warnings showed some alerts, which have
subsequently been fixed.
## Checklist:
<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->
- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.File tree
29 files changed
+163
-325
lines changed- .github
- workflows
- extern
- include
- cliffordsynthesis
- encoding
- configuration
- src
- cliffordsynthesis
- exact
- test
- cliffordsynthesis
29 files changed
+163
-325
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
28 | | - | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
| |||
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | | - | |
55 | | - | |
| 51 | + | |
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
59 | | - | |
| 55 | + | |
60 | 56 | | |
61 | | - | |
62 | | - | |
| 57 | + | |
63 | 58 | | |
64 | 59 | | |
65 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
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 | 13 | | |
45 | 14 | | |
46 | 15 | | |
| |||
65 | 34 | | |
66 | 35 | | |
67 | 36 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 37 | | |
72 | 38 | | |
73 | 39 | | |
74 | 40 | | |
| 41 | + | |
75 | 42 | | |
76 | 43 | | |
77 | 44 | | |
78 | 45 | | |
79 | 46 | | |
80 | 47 | | |
81 | 48 | | |
| 49 | + | |
82 | 50 | | |
83 | 51 | | |
84 | 52 | | |
Submodule LogicBlocks updated 34 files
- .clang-format+82-82
- .clang-tidy+1-1
- .cmake-format.yaml+4
- .github/codeql-config.yml+4
- .github/dependabot.yml+17
- .github/workflows/ci.yml+42-105
- .github/workflows/codeql-analysis.yml+38-29
- .gitignore+2-2
- .pre-commit-config.yaml+67
- CMakeLists.txt+46-38
- README.md+80-76
- app/CMakeLists.txt+2-2
- cmake/FindZ3.cmake+171-83
- extern/googletest+1-1
- extern/plog+1-1
- include/Encodings/Encodings.hpp+9-9
- include/LogicBlock/LogicBlock.hpp+4-5
- include/LogicBlock/Model.hpp+2-2
- include/LogicBlock/SMTLibLogicBlock.hpp+2-2
- include/LogicBlock/Z3Logic.hpp+9-9
- include/LogicTerm/Logic.hpp+7-7
- include/LogicTerm/LogicTerm.hpp+3-3
- include/LogicTerm/TermImpl.hpp+43-44
- include/LogicUtil/util_logicblock.hpp+16-16
- noxfile.py+23
- src/CMakeLists.txt+86-100
- src/Encodings/Encodings.cpp+1-1
- src/LogicBlock/CNFLogicBlock.cpp+1-1
- src/LogicBlock/SMTLibLogicBlock.cpp+1-1
- src/LogicTerm/LogicTerm.cpp+4-8
- src/LogicTerm/TermImpl.cpp+22-22
- test/CMakeLists.txt+27-40
- test/test_utils.cpp+1-1
- test/test_z3_optimizer.cpp+1-1
Submodule qfr updated from c11670d to 94257ff
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
| 220 | + | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments