summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2016-05-07AudioCore: SDL2 SinkMerryMage
2016-04-28Externals: Add soundtouchMerryMage
2016-04-24CMakeLists: Use imported version of Threads::ThreadsSam Spilsbury
This requires bumping up to a minimum of CMake 3.1. The benefit of using the imported target is that you can switch to the -pthread compiler flag on request, which may be necessary for some systems if available.
2016-04-23CMakeLists: Use CMAKE_THREAD_LIBS_INITSam Spilsbury
2016-04-03CMakeFiles: Compile as C++14Lioncash
2016-03-02Dependencies: Remove GLFW, Add SDL2MerryMage
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
2015-11-12Enable RTTI on Windows builds.Tony Wasserka
2015-09-14CMake: Silence more MSVC "deprecation" warningsYuri Kunde Schlesner
2015-09-08CMake: Make all cache options appear even in case of errorsYuri Kunde Schlesner
The `option` commands have been moved to the top of the file, so that the relevant options are registered in the CMake cache even if one of the required libraries is not found. This solves an ergonomic problem when using bundled libraries where you have to first download GLFW before being able to select the option to also download Qt.
2015-09-08CMake: Point binary downloads to new official repoYuri Kunde Schlesner
2015-09-08CMake: Remove support for QTDIR environment variableYuri Kunde Schlesner
Using this variable is problematic is the user has several versions of Qt installed on their system. There is no way to know ahead of time if the Qt version pointed to by QTDIR matches the toolchain that is being targeted. The Qt installation path can still be easily specified if it's not found by CMake by setting the Qt5_DIR cache variable after the initial configuration run, so this shouldn't present an usability issue.
2015-09-08CMake: Don't complain when Boost isn't found in the system.Yuri Kunde Schlesner
2015-09-08CMake: Use HINTS option instead of modifying CMAKE_PREFIX_PATH for QtYuri Kunde Schlesner
2015-09-08CMake: Add option to download Qt and GLFW binaries over HTTPYuri Kunde Schlesner
2015-09-08CMake: Fix architecture detection on MSVCYuri Kunde Schlesner
CMAKE_SYSTEM_ARCHICTETURE always returns the *host* not target arch when using the MSVC generators. (CMake bugs 15170 and 14342.)
2015-08-30Replace the previous OpenGL loader with a glad-generated 3.3 oneYuri Kunde Schlesner
The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES.
2015-08-24Integrate the MicroProfile profiling libraryYuri Kunde Schlesner
This brings goodies such as a configurable user interface and multi-threaded timeline view.
2015-08-17Fix building under MinGWdarkf
2015-08-15Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei
2015-08-15Common: Ported over Dolphin's code for x86 CPU capability detection.bunnei
2015-07-28Enable linker optimizations in MSVC Release buildsYuri Kunde Schlesner
Apparently /DEBUG implicitly disables linker optimizations. This explicitly re-enables them, giving a 40% reduction in binary sizes and a very slight runtime speed improvement.
2015-07-14Fix permissions in pre-commit hookJSFernandes
2015-07-12Implement new argument parsing using getopt and add the corresponding ↵Greg Wicks
library to externals
2015-07-09CMake: Fix Debug build configuration in MSVCYuri Kunde Schlesner
Debug was missing compiler flags, causing MSVC to default it to building with optimizations enabled (making for a not very useful binary for actual debugging...). Additionally, the variables were re-organized to remove some redundancy, the old Release build type was removed, and RelWithDebInfo was renamed to take its place instead.
2015-06-21Merge pull request #839 from Lectem/whitespacepolicyYuri Kunde Schlesner
Enforce the "no tab, use spaces" policy with a pre-commit hook.
2015-06-09force no-tab/trailing spaces with git hookLectem
Remove unneeded stuff from pre-commit script The check against an empty commit was not needed (it is only a security for the 1st commit after git init). It could also possibly pose problems because of the redirection to /dev/null on some windows systems. newline at EOF & fixed indent
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-25Update bundled GLFW to 3.1.1Yuri Kunde Schlesner
It may be necessary to fix the CMake paths manually for an exsting CMake cache after this change.
2015-05-14Merge pull request #675 from jroweboy/windows-build-fixesYuri Kunde Schlesner
Windows build fixes
2015-05-13Install a .desktop file to make citra-qt launchable from DE menus.Emmanuel Gil Peyrot
2015-05-06Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner
2015-03-26Updated the copy commands to run on post_build and use generator expressions ↵James Rowe
to simplify the code as well
2015-03-26Changes to bring the previous commits in line with the comments on thepull ↵James Rowe
request. Made the debug build a true debug build with no optimizxations and the RelWithDebInfo is what it says it is too. Changed the copying of the dlls to the build directories to happen at configuration time instead of build time
2015-03-26More changes to the CMakeFiles for better MSVC compatibility. Added in the ↵James Rowe
RelWithDebInfo target and setup copying the Qt 5 Dlls to the output directories.
2015-03-26Small changes to the CMake file to make windows build easierJames Rowe
2015-02-03Merge pull request #483 from yuriks/cmake-fixbunnei
CMake: Inform the user when architecture auto-detection fails
2015-01-19CMake: Inform the user when architecture auto-detection failsYuri Kunde Schlesner
2015-01-13CMake: Fix wrong filename in messageYuri Kunde Schlesner
2015-01-11Fix building on MinGWdarkf
2015-01-10CMake: Consistently set _DEBUG and NDEBUG in all platformsYuri Kunde Schlesner
2015-01-10Fix Windows buildbunnei
2015-01-10Merge pull request #342 from uppfinnarn/masterbunnei
Build improvements
2015-01-09Cleanup: Remove redundant /Oi flagchinhodado
`/Oi` is included in `/Ox` already
2015-01-09Looks like that might be needed on OSX after allJohannes Ekberg
2015-01-09Use -pthread where and only where neededJohannes Ekberg
Passing -pthread to GCC as a flag makes it both link to libpthread, and make C standard library routines reentrant. This makes the additional explicit links unnecessary. Additionally, on OSX, this is the default behavior, and clang will print a message about it being unused if it's present there.
2015-01-09Link Cocoa, IOKit and CoreVideo on OSXJohannes Ekberg
These are implicitly linked by Xcode, but with this, you can also build it with any other generator, which does not have this behavior. CoreFoundation is included as a part of Cocoa (which is an umbrella framework), and Cocoa is generally recommended to link against, rather than its individual components (CoreFoundation, Foundation, libobjc, ...).
2015-01-09Generic PLATFORM_LIBRARIES varJohannes Ekberg
This both reduces redundancy in add_executable definitions, and makes it easier to link additional libraries. In particular, extra libraries are needed on OSX - see next commit.
2015-01-09CMake: Enable VS parallel builds for a good reduction in compile timesYuri Kunde Schlesner
This enables the /MP compiler flag, which parallelizes builds of by distributing compilation of individual object files across workes processes, instead of being limited to per-project parallelism. Reduces the time for a full compile from 72 s to 45 s on my machine.
2014-12-29CMake: Require Boost 1.57.0 (fixes Travis OS X)Yuri Kunde Schlesner
2014-12-22Merge pull request #275 from yuriks/cmake-cleanbunnei
Clean up CMake library specification