Commit c6a4605
authored
[c]: install headers under cucumber/gherkin/ and .cmake files under gherkin/ (#346)
* [c]: install headers under cucumber/gherkin/
Rather than installing all the C headers directly under e.g.
`/usr/include`, put them in a subdirectory like
`/usr/include/cucumber/gherkin`.
This is *not* the same directory as the C++ headers, which have an extra
`cucumber/` corresponding to the `cucumber::` C++ namespace, e.g.
`/usr/include/cucumber/cucumber/gherkin/`. See
cucumber/messages#267 (comment).
* [c]: install cmake configs under gherkin/
Rather than installing `.cmake` files directly under e.g.
`/usr/lib/cmake`, put them in a subdirectory like
`/usr/lib/cmake/gherkin`.
C++ CMake files are currently installed under e.g.
`/usr/lib/cmake/cucumber_gherkin`; I think the leading `cucumber_`
corresponds to the `cucumber::` C++ namespace, which is why I have
chosen just `gherkin` for the C CMake files.1 parent 96b5f3f commit c6a4605
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
0 commit comments