-
Notifications
You must be signed in to change notification settings - Fork 503
Fix binding-functions when building out of source #188
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 binding-functions when building out of source #188
Conversation
This looks good, but can we add a Travis test that verifies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once the CI test is set up and green - thanks!
appveyor.yml
Outdated
@@ -39,7 +39,10 @@ environment: | |||
build_script: | |||
- cmake "-G%GENERATOR%" -H. -Bbuild | |||
- cmake --build build --config "%CONFIG%" | |||
# Intentionally failing the build to check the test | |||
#- cmake --build build --config "%CONFIG%" binding-functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this still be here? Does leaving it commented out imply that the test should fail but doesn't?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test should fail, but it just emits an error message and marks it as succeeded anyways. I'd like to take a look at that tomorrow and see if I can get it working before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the PR so Appveyor also tests the binding-functions target.
…f-source Fix binding-functions when building out of source
The binding functions scripts were looking in the original source directory, rather than for the generated
h3api.h
which is now under the binary directory. Also updatedbinding_functions.sh
to fail the build when the file it expects is not found.