summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2016-12-16Merge pull request #2303 from freiro/citra-qt_missing_sdl2_dllbunnei
Copy SDL2.dll when compiling citra-qt with msvc
2016-12-14Externals: Add XbyakYuri Kunde Schlesner
2016-12-13CMakeLists: Autodetect clang and only then use libc++Jeffrey Pfau
2016-12-11Modularization of copy_msvc_libraries cmake functfreiro
Created a new folder in Citra's root called CMakeModules that should contain cmake functions used by the various CMakeLists.txt.
2016-12-08Merge pull request #2202 from j-selby/man-docsYuri Kunde Schlesner
Add man documentation
2016-12-05Disable Microprofile on Mingw buildsJames
This fixes a crash when starting games
2016-11-30Appending PLATFORM_LIBRARIES instead of redefining themfreiro
2016-11-30WINVER definition moved to CMake and cleanupfreiro
2016-11-26Add man documentationJames
Includes both SDL and QT frontends
2016-11-22Move to SDL2-2.0.5freiro
2016-11-13Add mingw compile supportJames Rowe
2016-10-27build: don't install freedesktop.org metadata for SDL2-only buildsJan Beich
Citra SDL2 doesn't have a launcher, and citra.desktop tries to execute citra-qt which is N/A unless built with ENABLE_QT. Limiting installed files to one of the options also makes it easier to split them into separate non-conflicting packages downstream.
2016-10-27build: add default install for DragonFly, Solaris, etc.Jan Beich
2016-10-27build: clock_gettime() is in libc on BSDsJan Beich
2016-10-27build: libc may not provide iconv() on UnixJan Beich
/usr/bin/ld: ../common/libcommon.a(string_util.cpp.o): undefined reference to symbol 'libiconv_open'
2016-10-27common: convert to standard stat()/fstat() interfacesAnthony J. Bentley
Most modern Unix environments use 64-bit off_t by default: OpenBSD, FreeBSD, OS X, and Linux libc implementations such as Musl. glibc is the lone exception; it can default to 32 bits but this is configurable by setting _FILE_OFFSET_BITS. Avoiding the stat64()/fstat64() interfaces is desirable because they are nonstandard and not implemented on many systems (including OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either the default or trivial to set up.
2016-09-15dynarmic: Add new submodule.bunnei
2016-09-15CMakeLists: Set Boost_INCLUDE_DIR.bunnei
2016-09-01Revert "MSVC: Add RelWithDebInfo and removing debugging from Release."bunnei
2016-08-31MSVC: Add RelWithDebInfo and removing debugging from Release.James Rowe
This should reduce build size on windows from roughly 12MB compressed to 7MB
2016-08-15qt: Use 5.7 on Windows.bunnei
2016-08-04CMake: Fix for QT 5.7 overwriting -std=c++1y flagJames Rowe
In QT 5.7 they added a new check for CXX features which appends a minimum required standard to the CXX_FLAGS. Because we were writing the flag directly previously, cmake assumed it needed to add a c++11 flag to the build. This tells cmake to use c++14 on every build.
2016-07-23Remove the -msse4.1 on ¬MSVC.Emmanuel Gil Peyrot
This option makes the generated binary crash with an illegal instruction when the target CPU doesn’t support the SSE4.1 extension (see #1968), with no noticeable performance increase compared to a generic build.
2016-06-17CMakeLists: Drop support for Qt 4Lioncash
2016-05-19Tests: Run tests on CIMerryMage
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.