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

Fix Windows build of Java and Processing bindings #343

Merged
merged 4 commits into from
Dec 29, 2017
Merged

Conversation

nitsch
Copy link
Collaborator

@nitsch nitsch commented Dec 27, 2017

Build was broken on Windows using Visual Studio.

The cp command was not understood by the Windows CMD, so this only worked
on Linux and OSX.

CMake's -E copy command does not support wildcards in filenames either, so
the most robust way is to simply call a script for copying on Windows.
The .jar file needs to be created only after SWIG generated the .java
files. This was not working properly.
Windows does not use the "lib" prefix for its libraries by default. Only
MinGW does that.
Copy link
Owner

@thp thp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is okay. the batch file solution is not as nice as could be, but it's good for now

@thp thp merged commit 8dd6877 into thp:master Dec 29, 2017
@nitsch nitsch deleted the fix-java branch December 29, 2017 19:59
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