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

CMake: disable sample applications and tests by default, add interface library #7

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

quxflux
Copy link
Contributor

@quxflux quxflux commented Jan 7, 2024

When integrating this library via CMakle with CPM into an existing project, additional steps have to be taken to use this library (i.e. specifying the include directory manually). Also the sample and test targets will be visible in the host CMake project, which is typically not wanted.

To simplify using the library this PR adds an interface library which can easily be consumed by users without the need for tampering with the include directories manually.
Test and sample projects will only be built when the given option is enabled (which is OFF by default).

@ToruNiina ToruNiina merged commit 33f9de1 into ToruNiina:master Jan 7, 2024
@ToruNiina
Copy link
Owner

nice. thank you.

@quxflux
Copy link
Contributor Author

quxflux commented Jan 7, 2024

Thank you for providing and maintaining this project 🙂️

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.

None yet

2 participants