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

Start building as a shared library on Windows (DLL) #67

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

wravery
Copy link

@wravery wravery commented Jul 25, 2018

This is a potential fix for Issue #39. It depends on having python2 and winflexbison in the program path because the output of flex and bison is a little different with the --wincompat flag. We can't just use the checked in versions of those files on Windows.

Alternatively, Microsoft/vcpkg can acquire those tools on demand for Windows. I have a pull request to that project (#3953) to add a port for this library, it patches the CMakeList.txt file to add these tools to the path without requiring a separate install on Windows. The same port works on the Linux version of vcpkg as well.

CMakeLists.txt Outdated Show resolved Hide resolved
@wravery wravery changed the title Start building as a static library on Windows Start building as a shared library on Windows (DLL) Jul 26, 2018
@wravery
Copy link
Author

wravery commented Aug 11, 2018

BTW, here's what I built with it: cppgraphqlgen. 😁

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants