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

Pass build flags to wineg++ #2746

Merged
merged 1 commit into from
Jun 7, 2016
Merged

Pass build flags to wineg++ #2746

merged 1 commit into from
Jun 7, 2016

Conversation

jasp00
Copy link
Member

@jasp00 jasp00 commented Apr 29, 2016

The build of RemoteVstPlugin did not use flags from normal builds, such as debugging information and some warnings. Omitting the frame pointer in optimization does not work.
WINE_CXX_FLAGS allows packagers to set extra flags, such as RUNPATH information.

@@ -66,6 +66,9 @@ OPTION(WANT_WINMM "Include WinMM MIDI support" OFF)
OPTION(WANT_QT5 "Build with Qt5" OFF)


SET(WINE_CXX_FLAGS "" CACHE STRING "Extra flags passed to wineg++")
Copy link
Member

Choose a reason for hiding this comment

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

@jasp00 wouldn't this make more functional sense in the IF(WANT_VST) block, since we don't use Wine for anything else?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a configuration variable, like WANT_VST_NOWINE; it could be configured with cmake-gui. I see that conditional variables appear after configuring; perhaps this variable should be moved to plugins/vst_base/CMakeLists.txt.

@jasp00
Copy link
Member Author

jasp00 commented May 1, 2016

Changed.

@jasp00
Copy link
Member Author

jasp00 commented Jun 5, 2016

Conflict resolved.

@jasp00 jasp00 merged commit 2d04870 into LMMS:master Jun 7, 2016
@jasp00 jasp00 deleted the wine-buildflags branch June 7, 2016 22:32
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
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.

None yet

2 participants