Skip to content

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.

2 participants