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

Introduce ZINNIA_STATIC_LIBRARY for Windows #6

Merged
merged 1 commit into from
Sep 1, 2016
Merged

Introduce ZINNIA_STATIC_LIBRARY for Windows #6

merged 1 commit into from
Sep 1, 2016

Conversation

yukawa
Copy link
Contributor

@yukawa yukawa commented Aug 28, 2016

Currently ZINNIA_DLL_EXTERN macro defined in zinnia.h can only be either __declspec(dllexport) or __declspec(dllimport), which results in a compile error for projects that want to use Zinnia as a static library.

With this CL, we can specify ZINNIA_STATIC_LIBRARY to build and use Zinnia as a static library on Windows.

Currently ZINNIA_DLL_EXTERN macro defined in zinnia.h can only be either
__declspec(dllexport) or __declspec(dllimport), which results in a
compile error for projects that want to use Zinnia as a static library.

With this CL, we can specify ZINNIA_STATIC_LIBRARY to build and use
Zinnia as a static library on Windows.
@taku910 taku910 merged commit 581faa8 into taku910:master Sep 1, 2016
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