Skip to content

Compiling Clarabel.cpp in larger CMake project #70

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

Closed
wants to merge 6 commits into from

Conversation

FreyJo
Copy link

@FreyJo FreyJo commented Jul 4, 2025

Hi,
we are working on integrating clarabel via Clarabel.cpp into acados as an additional QP solver, see acados/acados#1168.
In order to get the compilation working in our project, we made the changes suggested here in this PR.
I would be happy if you could review them.

Changes summarized:

  • add include directories explicitly
  • make building examples optional
  • allow setting CLARABEL_C_OUTPUT_DIR from outside
  • copy lib to CLARABEL_C_OUTPUT_DIR
  • use PROJECT_SOURCE_DIR instead of CMAKE_PROJECT_DIR
  • add install targets

@CLAassistant
Copy link

CLAassistant commented Jul 4, 2025

CLA assistant check
All committers have signed the CLA.

@FreyJo
Copy link
Author

FreyJo commented Jul 4, 2025

Closing, opened #72 instead with resolved conflicts.

@FreyJo FreyJo closed this Jul 4, 2025
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