Skip to content

Conversation

KrisThielemans
Copy link
Contributor

@KrisThielemans KrisThielemans commented Oct 4, 2025

  • Moving the generated C++ files, together with an adaptation of our CMakeLists.txt
  • Create petsird and petsird_helpers (interface) libraries that keep track of include paths and dependencies

This means that we use #include "petsird/types.h" as opposed to #include "generated/petsird.h"

WARNING: breaks backward compatibility!

Related issues

Fixes #128
Fixes #162

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in the ETSI software (the Work) under the terms and conditions of the Apache-2.0 License.

Together with an adaptation of our CMakeLists.txt,
this means that we use `#include "petsird/types.h"`
as opposed to `#include "generated/petsird.h"`

WARNING: breaks backward compatibility
The petsird and petsird_helpers libraries simplify keeping track of include
paths and dependencies. The latter now includes xtensor-blas as
that is used in geometry.h.

Fixes ETSInitiative#162
@KrisThielemans KrisThielemans force-pushed the cpp_generated_location branch from 35e5118 to 648bd00 Compare October 4, 2025 10:56
@KrisThielemans KrisThielemans changed the title move location of C++ generated files to generated/petsird move location of C++ generated files to generated/petsird and better CMake Oct 4, 2025
@KrisThielemans KrisThielemans merged commit f582758 into ETSInitiative:main Oct 6, 2025
2 checks passed
@KrisThielemans KrisThielemans deleted the cpp_generated_location branch October 6, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C++ helpers depend on xtensor-blas C++: change generated to petsird

1 participant