Skip to content

Conversation

@fabianbs96
Copy link
Member

@fabianbs96 fabianbs96 commented Mar 4, 2024

PhASAR is recommended to be pulled in via add_subdirectory in cmake. However, there are many small things to improve in this scenario, mostly by excluding targets that are unneeded by clients.
Additionally, phasar can then also better be used via FetchContent

We now also use FetchContent to pull in GoogleTest instead of including it as a submodule.
This avoids users to pull it in accidentally multiple times

@fabianbs96 fabianbs96 self-assigned this Mar 4, 2024
… so that users do not clone it multiple times when use recursive cloning
@fabianbs96 fabianbs96 marked this pull request as ready for review March 8, 2024 17:35
@fabianbs96 fabianbs96 requested a review from MMory as a code owner March 8, 2024 17:35
Copy link
Member

@MMory MMory left a comment

Choose a reason for hiding this comment

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

looks good to me! I wasn't really aware of the FetchContent feature, cool stuff! At some point we might wanna bump the cmake version we require, we haven't done so in a while

@fabianbs96 fabianbs96 merged commit 866ec8f into development Mar 12, 2024
@fabianbs96 fabianbs96 deleted the f-ImprovePhasarAsSubdirectoryExperience branch March 12, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants