Skip to content
Discussion options

You must be logged in to vote

Keeping the testing as a separate project enables you to also test the project when installed as a relocatable CMake package. This ensures that you use the same workflow your users would, i.e. find_package() followed by everything else.

However, I did not make this the default in CI primarily because that would require a bit more code and the setup would be different than what the developers have locally. I should probably put an example together to show what testing using the install interface looks like at least.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PatrickKa
Comment options

Answer selected by PatrickKa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants