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

CMake: add DOLPHIN_CXX_FLAGS option #6143

Merged
merged 1 commit into from Feb 9, 2020
Merged

Conversation

ligfx
Copy link
Contributor

@ligfx ligfx commented Oct 26, 2017

Lets you do fun stuff like adding extra warnings + warnings as errors for Dolphin only.

Closed the original, #6137, in a momentary lapse of thinking.

@leoetlino
Copy link
Member

Hmm, I'm not sure I see the use for the option. Is it just to experiment with warnings for the Dolphin source? If so, wouldn't temporary modifications to the CMakeList be good enough?

@ligfx
Copy link
Contributor Author

ligfx commented Oct 27, 2017

You could, yeah, though that interacts poorly with things like rebase or automated tooling. My use-case is mainly being able to compile with -Werror without getting spammed by problems in externals. It could also be interesting for, say, CI to be able to do that.

@degasus
Copy link
Member

degasus commented Dec 4, 2017

IMO passing different flags for externals and dolphin source makes sense, so I think this PR has a point.

Lets you do fun stuff like turning off warnings globally, then re-enabling all warnings + extra warnings + warnings as errors for Dolphin only.
@Tilka Tilka merged commit 7fe11c9 into dolphin-emu:master Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants