-
Notifications
You must be signed in to change notification settings - Fork 43
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
Update CMake project #217
Update CMake project #217
Conversation
Update and cleanup project.
Simplify project for install targets, remove redundant variables.
Adding files for external CMake projects. External project can now call find_package(WildMidi) and use WildMidi::libwildmidi_dynamic and WildMidi::libwildmidi_static dependencies.
@winterheart Thanks for the re-write! |
I was intended to switch Github Actions (#216) since there is easy to configuration and maintain. Anyway, Travis configuration updated. |
Thanks! |
I get the following error when trying to cross-compile for windows x64:
|
Well, here is another gem: This time building for linux with static library enabled:
Either fix this crap or revert these changesets. |
@sezero can you please post |
|
In case you need, for the other setup:
|
Can you please try this branch - https://github.com/winterheart/wildmidi/tree/cmake-2 (commit 4e37c97) |
Doesn't make a difference:
Neither with mingw:
Nor with -DWANT_STATIC=1:
|
... And it fails even without specifying any options:
|
@sezero please test new changes winterheart@c03732a |
Seems to work. Send a new pull req. with the fix. |
Fix regression introduced in Mindwerks#217. MinGW uses own layout install, so DLLs and executables goes to RUNTIME, static libs - to ARCHIVE destinations. Additional optimizations for installation targets.
Fix regression introduced in #217. MinGW uses own layout install, so DLLs and executables goes to RUNTIME, static libs - to ARCHIVE destinations. Additional optimizations for installation targets.
Update cmake requirements to 3.1 and rewrite project with features that enhanced in 3.1 version. Added GNUInstallDirs extension for installing target, added exported targets for reuse in external CMake projects.