Skip to content

add test if external C++ project can use PETSIRD - #208

Closed
KrisThielemans wants to merge 1 commit into
mainfrom
add_external_project_test
Closed

add test if external C++ project can use PETSIRD#208
KrisThielemans wants to merge 1 commit into
mainfrom
add_external_project_test

Conversation

@KrisThielemans

Copy link
Copy Markdown
Contributor

minimal test. just checks if it compiles and links.

@casperdcl casperdcl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems better to make a few tweaks to the existing cpp/examples folder instead. I only noticed a couple of diffs:

  • CCACHE_PROGRAM
  • #ifdef #include hdf5/protocols.h #else binary/protocols.h

@KrisThielemans

Copy link
Copy Markdown
Contributor Author

yeah, but the examples folder are built with just, and everyone might need them. This cannot be (has to be independent). Seems tricky to me to re-use files for dual purpose.

@KrisThielemans

Copy link
Copy Markdown
Contributor Author

we could copy files etc, but the advantage of this is that it's a nice and clean demo of how people should use an installed PETSIRD.

@KrisThielemans

Copy link
Copy Markdown
Contributor Author

BTW a some point we'll get rid of the HDF5 stuff...

@KrisThielemans

Copy link
Copy Markdown
Contributor Author

amazingly, we had this in cpp/example already...

@KrisThielemans
KrisThielemans deleted the add_external_project_test branch August 19, 2026 20:07
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.

2 participants