secure-software-engineering / phasar

A LLVM-based static analysis framework.
Other
919 stars 140 forks source link

Improve phasar as subdirectory experience #708

Closed fabianbs96 closed 3 months ago

fabianbs96 commented 4 months ago

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