Skip to content
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

Install c++ headers and CMake package #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ordinary-slim
Copy link
Contributor

@ordinary-slim ordinary-slim commented Dec 2, 2024

I need to interface with multiphenicsx at the c++ level so I modified the CMakeLists.txt following the CMake guide on importing and exporting. It now installs headers (right now only DofMapRestriction.h) and a findable CMake package so that it can be used in other projects. Here is a sample project.

Disclaimer: I've only tried it on the docker container I'm working on.

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.

1 participant