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

enabled versioned MinGW-w64 .dlls on cmake #62

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

Conversation

Adsun701
Copy link

@Adsun701 Adsun701 commented Sep 2, 2019

This enables versioned .dll shared libraries on cmake using MinGW-w64, in concurrence with autotools also producing versioned .dll shared libraries.

@willson-chen
Copy link
Contributor

I performed the following steps in Win10 with cmake and MinGW:

mkdir build
cd build
cmake -G"Unix Makefiles" ..
make

But I can't find any dll file. Did I do it wrong? @Adsun701

@Adsun701
Copy link
Author

Adsun701 commented Sep 5, 2019

@willson-chen The generator should be MSYS Makefiles.

EDIT: If you are using a Windows command prompt, the appropriate generator should be MinGW Makefiles. If you are using MSYS2 shell, use MSYS Makefiles. If you are cross-compiling from Linux, then use Unix Makefiles.

@willson-chen
Copy link
Contributor

Sorry...It failed again. I had tried MSYS2 with cmake -G "MSYS Makefiles" .., but still no dll was found.
And referencing #63 , I am not sure building dynamic and static libs at the same time is nessary.

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