Commit 16362f4
committed
cmake: Add
This target acts as a build-graph node for generated Cap'n Proto C++
headers. By providing this custom target, other targets that include
the headers can properly order themselves after the generation step
without needing to depend on the library target that also uses them.
This convenience target is necessary for proper build dependency
management, as the underlying `capnp_generate_cpp` function is not
CODEGEN-aware.mp_headers custom target1 parent 61de697 commit 16362f4
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| |||
0 commit comments