-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Various cmake improvements #10
base: omemo
Are you sure you want to change the base?
Conversation
Instead of adding further complexities to the CMake-based build system, I plan to migrate this entirely to Meson, which has a lot of built-in advanced features for a) cross-platform builds, b) building static libraries and c) bundling with dependencies ( I started work on the Can you describe in more detail what exactly you need for your usecase? Is all you need a simple command that builds libomemo-c into a single static library for Windows? |
Hello @mar-v-in.
If Meson is going to be used, this pull request may not be worth paying attention to. |
Just wanted to point out that all of those features are available with CMake, e.g. c) is |
@LecrisUT Meson fetches und builds fallback wraps only on demand. If a dependency library is available on the system, the system library will be used instead. Fallback wraps can also be entirely turned off easily by setting The |
I know nothing of Meson. But if the package will be available on Conan for Windows and Mac being built with various compilers, I believe it will solve all problems for me. |
Added git tag to build latest stable release of protobuf-c instead of development branch
initial problem was missing protobuf-c on windows.
So added various way of building with protobuf-c suitable probably for every imaginable case.
Also added installation of cmake config files to make it super easy to use libomemo from other cmake projects.
For example I can build a bundled/static version with
and then use it like