cope with xtensor include files move#251
cope with xtensor include files move#251KrisThielemans wants to merge 2 commits intomicrosoft:mainfrom
Conversation
|
@johnstairs @naegelejd could you please check this? There are now MacOS compilation problems with older xtensor 0.25, and using yardl is becoming awkward. |
|
This doesn't work yet as the version macros aren't defined yet, so we cannot test on them. |
|
It does works now, but it's a bit ugly as |
|
I don't think including It looks like other xtensor users have chosen to use Example: https://github.com/fastscape-lem/fastscapelib/pull/174/files |
|
So we require c++17? If so, fine for me! It'd be great if you could do this. We had to rely on a hand-compiled version. |
I cannot see this is the generated CMakeLists.txt. It's fine for PETSIRD to require this, but not sure in general. Whatever choice you make, this issue is causing loads of trouble I'm afraid. |
|
Thanks Kris. No, the yardl-generated What we should do is specify a "minimum supported C++ version" in the generated |
Fixes #216