-
Notifications
You must be signed in to change notification settings - Fork 207
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
Binary not found in Core Build Makefile project #328
Conversation
Fixed the problem for Core Build Makefile projects that the output binary could not be found during launching when the user set the Build Output Location to "Build in project directory". The project was only looking for binaries in the "build" folder.
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.
LGTM. I think this is a workaround rather than the full solution as presumably the "correct" solution would be the output entry would update based on the setting "Build in project directory" or not. As launching seems to work as expected this is ready to go.
This is ready to go, but I don't understand why it consistently fails the same test so I have restarted it again. I think it is just a flaky test, but I want to make sure there is no unintended consequence here. |
Thanks @ewaterlander |
Currently a Core Build Makefile project will just launch the first binary found in the binaries container. The real output location also depends on the launch mode set in the LaunchBar. If you set the location to "configuration specific directory" and switch from Run to Debug without cleaning you will not see debug info, because the first binary under "build" is found in the build subdirectory "default". The project doesn't control the content of the Makefile. In theory the binary could be written anywhere, even with location set to "configuration specific directory". The user needs to be aware which binary is built. It is currently not foolproof. |
Thanks for merging. |
Fixed the problem for Core Build Makefile projects that the output binary could not be found during launching when the user set the Build Output Location to "Build in project directory". The project was only looking for binaries in the "build" folder.