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 Support #36

Closed
wants to merge 3 commits into from
Closed

CMake Support #36

wants to merge 3 commits into from

Conversation

dylanetaft
Copy link

Add CMake support. It makes using mimetic in C++ apps more modular. CMake is well supported across Windows and Linux, and works in Visual Studio.

Tested on Ubuntu, in MSYS2 with CLANG64 on Windows, and in Visual Studio on Windows.

Works best in a superbuild project but does work fine with FetchContent - namespaces won't be available.

image
image

The cmake script only builds the main library, static or dynamic. It looked difficult to add the test case build.
It also builds a pkg-conf .pc file so it can interoperate with autotools - I didn't add static lib tags though, only dynamic.

This should make mimetic more portable and flexible for people to include in various projects. Thanks!

@dylanetaft dylanetaft closed this by deleting the head repository Oct 19, 2024
@dylanetaft
Copy link
Author

Replaced with #37

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