Commit 6781c02
authored
cmake: write xtensor.hpp to local dir to keep global build dir clean (#2857)
Generate xtensor.hpp into ${CMAKE_CURRENT_BINARY_DIR} instead of top-
level ${CMAKE_BINARY_DIR}.
Expose ${CMAKE_CURRENT_BINARY_DIR} via BUILD_INTERFACE so consumers can
find the generated header at build time while keeping install paths
unchanged.1 parent e66295e commit 6781c02
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
324 | | - | |
| 325 | + | |
325 | 326 | | |
326 | | - | |
| 327 | + | |
327 | 328 | | |
0 commit comments