citra/src
Tobias a11bc03d4a
Port yuzu-emu/yuzu#2253: "Migrate off directly modifying CMAKE_* compilation-related flags directly" (#4714)
* CMakeLists: Move compilation flags into the src directory

We generally shouldn't be hijacking CMAKE_CXX_FLAGS, etc as a means to
append flags to the targets, since this adds the compilation flags to
everything, including our externals, which can result in weird issues
and makes the build hierarchy fragile.

Instead, we want to just apply these compilation flags to our targets,
and let those managing external libraries to properly specify their
compilation flags.

This also results in us not getting as many warnings, as we don't raise
the warning level on every external target.

* CMakeLists: Move off of modifying CMAKE_*-related flags

Modifying CMAKE_* related flags directly applies those changes to every
single CMake target. This includes even the targets we have in the
externals directory.

So, if we ever increased our warning levels, or enabled particular ones,
or enabled any other compilation setting, then this would apply to
externals as well, which is often not desirable.

This makes our compilation flag setup less error prone by only applying
our settings to our targets and leaving the externals alone entirely.

This also means we don't end up clobbering any provided flags on the
command line either, allowing users to specifically use the flags they
want.
2019-06-18 12:12:32 +02:00
..
android android: add logging 2019-03-09 18:23:32 -06:00
audio_core audio_core: dsp_hle: use better f32 to s16... 2019-05-01 15:58:26 -06:00
citra Port yuzu-emu/yuzu#2511: "common/file_util: Minor cleanup" (#4782) 2019-06-08 00:23:57 +02:00
citra_qt yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call 2019-06-09 16:22:43 +02:00
common Port yuzu-emu/yuzu#2511: "common/file_util: Minor cleanup" (#4782) 2019-06-08 00:23:57 +02:00
core core/telemetry_session: Remove unnecessary web service nulling out in destructor 2019-06-09 16:47:09 +02:00
dedicated_room Fix getopt on systems where char is unsigned by default 2019-03-15 23:19:24 +00:00
input_common input_common/sdl/sdl_impl: Silence sign conversion warnings 2019-06-01 02:10:46 +02:00
network general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-07 15:14:29 +02:00
tests kernel/server_session: Return a std::pair from CreateSessionPair() 2019-04-15 21:46:57 +02:00
video_core video_core: change "left + width" to "right" in CanSubRect 2019-06-04 17:03:31 -05:00
web_service core, web_service: Check for error when registering rooms 2019-04-20 12:50:14 +08:00
.clang-format add java to .clang-format 2019-02-22 16:29:19 -06:00
CMakeLists.txt Port yuzu-emu/yuzu#2253: "Migrate off directly modifying CMAKE_* compilation-related flags directly" (#4714) 2019-06-18 12:12:32 +02:00