-
Notifications
You must be signed in to change notification settings - Fork 135
[Proposal] link libeigen with CPM #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @eduardz1, thanks for the PR and it looks a good direction. But can you make it an option rather than modifying the current method? After all, it needs to download the CPM script, so it may be better to keep the scripts minimal for basic use, and use CPM with an additional flag in CMake. |
Thanks for the feedback! You're right, I included the CPM utils directly to avoid unnecessary downloads and restored the previous logic with the difference that instead of |
|
This looks good to me, thanks! And as you have mentioned, it would be nice if those variables are documented in the README. Could you add a paragraph in the Installation section? |
Tell me if you think the way I documented it is sufficient |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #178 +/- ##
======================================
Coverage 94.1% 94.1%
======================================
Files 48 48
Lines 2555 2555
Branches 294 294
======================================
Hits 2406 2406
Misses 149 149 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This looks good to me. Thanks! |
I would like to propose using CPM to link the
libeigenlibrary instead of searching for it on the system withfind_package. This makesSpectramore portable, including the library in another project is more transparent, and the build more reproducible.The CPM snipped derives from the one suggested on the CPM wiki