Skip to content

Conversation

@mikkoi
Copy link
Contributor

@mikkoi mikkoi commented Oct 20, 2019

To maintain compatibility with the Autotools installation we specifically create both shared and static libraries as that is what Autotools script has been doing. Normally CMake would create the system's native default library type.

In Windows we shall create two library files: "check.lib" and "checkDynamic.lib".
This separation is necessary. In Unix/Linux the files would be libcheck.a and libcheck.so, only separated by the filename suffix. But in Windows all library files end with ".lib", both static and dynamic.

Why we create both static and shared type of library?

Signed-off-by: Mikko Johannes Koivunalho <[email protected]>
Change from checkStatic to checkDynamic.
Was erroneously "checkStatic".

Signed-off-by: Mikko Johannes Koivunalho <[email protected]>
@brarcher brarcher merged commit 003e225 into libcheck:master Oct 20, 2019
@mikkoi mikkoi deleted the fix-wrong-library-filename branch October 25, 2019 08:06
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