Skip to content
Snippets Groups Projects
  1. Oct 30, 2020
  2. Aug 03, 2020
  3. Jun 27, 2020
  4. Apr 17, 2020
  5. Apr 16, 2020
    • Lioncash's avatar
      CMakeLists: Specify -Wextra on linux builds · 1c340c6e
      Lioncash authored
      Allows reporting more cases where logic errors may exist, such as
      implicit fallthrough cases, etc.
      
      We currently ignore unused parameters, since we currently have many
      cases where this is intentional (virtual interfaces).
      
      While we're at it, we can also tidy up any existing code that causes
      warnings. This also uncovered a few bugs as well.
      1c340c6e
  6. Apr 15, 2020
    • Lioncash's avatar
      CMakeLists: Make -Wreorder a compile-time error · 213fff67
      Lioncash authored
      This can result in silent logic bugs within code, and given the amount
      of times these kind of warnings are caused, they should be flagged at
      compile-time so no new code is submitted with them.
      213fff67
  7. Jan 19, 2020
    • Léo Lam's avatar
      CMake: Create thin archives on Linux · f98cd210
      Léo Lam authored
      This significantly reduces unnecessary disk writes and space usage
      when building Citra.
      
      libcore.a is now only ~1MB rather than several hundred megabytes.
      f98cd210
  8. Jun 10, 2019
  9. May 09, 2019
    • Lioncash's avatar
      CMakeLists: Specify /volatile:iso for MSVC · c4d03f01
      Lioncash authored
      By default, MSVC doesn't use standards-compliant volatile semantics.
      This makes it behave in a standards-compliant manner, making
      expectations more uniform across compilers.
      c4d03f01
  10. May 07, 2019
    • Lioncash's avatar
      src/CMakeLists: Add /Zc:externConstexpr to the MSVC build flags · 70c6506a
      Lioncash authored
      The C++ standard allows constexpr variables declared with the extern
      keyword to have external linkage. Previously MSVC wasn't abiding by
      this. This just makes the compiler more standards compliant during
      builds.
      
      Given we currently don't make use of anything that would break by this,
      this is safe to enable.
      70c6506a
    • Lioncash's avatar
      src/CMakeLists: Vertically order compilation flags · 6ca7241b
      Lioncash authored
      Makes it much nicer to visually scan the options. This also starts the
      flag descriptions from the same column for the same reason.
      6ca7241b
  11. May 04, 2019
  12. Apr 17, 2019
    • Lioncash's avatar
      CMakeLists: Ensure we specify Unicode as the codepage on Windows · 819c21d9
      Lioncash authored
      Previously we were building with MBCS, which is pretty undesirable. We
      want the application to be Unicode-aware in general.
      
      Currently, we make the command line variant of yuzu use ANSI variants of
      the non-standard getopt functions that we link in for Windows, given we
      only have an ANSI option-set.
      
      We should really replace getopt with a library that we make all build
      types of yuzu link in, but this will have to do for the time being.
      819c21d9
  13. Mar 17, 2019
    • Lioncash's avatar
      CMakeLists: Move off of modifying CMAKE_*-related flags · e6612d6d
      Lioncash authored
      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.
      e6612d6d
    • Lioncash's avatar
      CMakeLists: Move compilation flags into the src directory · 13bc74e9
      Lioncash authored
      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.
      13bc74e9
  14. Oct 02, 2018
  15. Jul 28, 2018
  16. Jan 13, 2018
  17. Jul 11, 2017
  18. Jul 10, 2017
  19. Jul 07, 2017
    • B3n30's avatar
      Implement basic virtual Room support based on enet (#2803) · 2e37ce01
      B3n30 authored
      * Added support for network with ENet lib,
      
      connecting is possible, but data can't be sent, yet.
      
      * fixup! Added support for network with ENet lib,
      
      * fixup! CLang
      
      * fixup! Added support for network with ENet lib,
      
      * fixup! Added support for network with ENet lib,
      
      * fixup! Clang format
      
      * More fixups!
      
      * Moved ENetHost* and ENetPeer* into pimpl classes
      
      * fixup! Moved ENetHost* and ENetPeer* into pimpl classes
      
      * fixup! Clang again
      
      * fixup! Moved ENetHost* and ENetPeer* into pimpl classes
      
      * fixup! Moved ENetHost* and ENetPeer* into pimpl classes
      
      * fixup! Moved ENetHost* and ENetPeer* into pimpl classes
      2e37ce01
  20. Mar 01, 2017
  21. May 19, 2016
  22. Mar 02, 2016
    • MerryMage's avatar
      Dependencies: Remove GLFW, Add SDL2 · ba2a54a9
      MerryMage authored
      citra: Remove GLFW, Add SDL2
      
      FindSDL2: Do not CACHE SDL2_* variables if library is not found
      
      EmuWindow_SDL2: Set minimal client area at initialisation time
      
      EmuWindow_SDL2: Corrections
      
      EmuWindow_SDL2: Fix no decorations on startup on OS X
      
      cmake: windows_copy_files
      ba2a54a9
  23. Feb 21, 2016
    • MerryMage's avatar
      AudioCore: Skeleton Implementation · 8b00954e
      MerryMage authored
      This commit:
      * Adds a new subproject, audio_core.
      * Defines structures that exist in DSP shared memory.
      * Hooks up various other parts of the emulator into audio core.
      
      This sets the foundation for a later HLE DSP implementation.
      8b00954e
  24. Sep 01, 2014
    • Yuri Kunde Schlesner's avatar
      CMake cleanup · 45976da9
      Yuri Kunde Schlesner authored
      Several cleanups to the buildsystem:
       - Do better factoring of common libs between platforms.
       - Add support to building on Windows.
       - Remove Qt4 support.
       - Re-sort file lists and add missing headers.
      45976da9
  25. Apr 23, 2014
  26. Apr 10, 2014
  27. Sep 26, 2013
  28. Sep 13, 2013
  29. Aug 30, 2013
Loading