Commit Graph

131 Commits (035716d57bfc2142779e421ee242efc0d51059f6)

Author SHA1 Message Date
MerryMage a08edd67eb tests: Add tests for vadd 8 years ago
MerryMage 9ca6728217 CMakeLists: Check that all submodules are present 8 years ago
bunnei 33b012e86b web_service: Add CMake flag to enable. 8 years ago
B3n30 6ba089fafb Set global definition WIN32_LEAN_AND_MEAN (#2807)
Set definition WIN32_LEAN_AND_MEAN to avoid windows.h including a lot of libs that are usually not used.
8 years ago
Yuri Kunde Schlesner 2ef7450465 CMake: Set MSVC flags for improved C++ standards conformance
This makes the compiler stricter and also enables small optimizations.
8 years ago
Yuri Kunde Schlesner 9a08160ae5 CMake: Re-organize root CMakeLists.txt file
Separates the file into sections and re-orders things to fit in them
8 years ago
Yuri Kunde Schlesner c211368734 CMake: Move definitions of externals to the CMakeLists in that directory 8 years ago
Yuri Kunde Schlesner d736cca848 CMake: Create INTERFACE targets for microprofile and nihstro 8 years ago
Yuri Kunde Schlesner 74afcd5328 CMake: Add SoundTouch include path to target property 8 years ago
Yuri Kunde Schlesner cb49df156d CMake: Use target properties to add inih include paths 8 years ago
Yuri Kunde Schlesner 776cb91785 CMake: Define an interface target for SDL2 definitions 8 years ago
Yuri Kunde Schlesner 34b6c8bd88 CMake: Remove CITRA_QT_LIBS var
This used to be required to support both Qt4 and Qt5, but we dropped Qt4
so it's not needed anymore.
8 years ago
Yuri Kunde Schlesner 089baa04e8 CMake: Stop using FindOpenGL, which seems to not be required anymore 8 years ago
Yuri Kunde Schlesner d6ff5c6f75 CMake: Use append instead of set to modify list 8 years ago
Yuri Kunde Schlesner 0f563111a2 CMake: Use IMPORTED target for Boost 8 years ago
Yuri Kunde Schlesner 4660bc1c78 CMake: Use IMPORTED target for libpng 8 years ago
Yuri Kunde Schlesner a06220682c Add the fmt string formatting library
More info at http://fmtlib.net/

This commit was based on @jroweboy's work on his spdlog branch, but with
modifications.
8 years ago
Fernando Sahmkow d8af401b2c Fix Microprofile in MinGW (#2530) 8 years ago
Kloen abc5c134a3 Removed unused and outdated external qhexedit 8 years ago
James Rowe 0a6ca01991 Change deploy to use github releases instead, but only for the citra-nightly repo 8 years ago
James Rowe b03e7bf28f Add deploy to bintray for builds to master 8 years ago
bunnei d30d6f81aa Merge pull request #2303 from freiro/citra-qt_missing_sdl2_dll
Copy SDL2.dll when compiling citra-qt with msvc
8 years ago
Yuri Kunde Schlesner 17fccb8c5d Externals: Add Xbyak 8 years ago
Jeffrey Pfau 07ab936f12 CMakeLists: Autodetect clang and only then use libc++ 8 years ago
freiro 031fc3a460 Modularization of copy_msvc_libraries cmake funct
Created a new folder in Citra's root called CMakeModules that should
contain cmake functions used by the various CMakeLists.txt.
8 years ago
Yuri Kunde Schlesner 5a3ed81d9a Merge pull request #2202 from j-selby/man-docs
Add man documentation
8 years ago
James 61687840bc Disable Microprofile on Mingw builds
This fixes a crash when starting games
8 years ago
freiro 35e979f041 Appending PLATFORM_LIBRARIES instead of redefining them 8 years ago
freiro 0c22e52f52 WINVER definition moved to CMake and cleanup 8 years ago
James e5f8df8088 Add man documentation
Includes both SDL and QT frontends
8 years ago
freiro 9ca3a2d461 Move to SDL2-2.0.5 8 years ago
James Rowe c3ea6f4ddb Add mingw compile support 8 years ago
Jan Beich 8b833d3a97 build: don't install freedesktop.org metadata for SDL2-only builds
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.
8 years ago
Jan Beich 2240cb2eb0 build: add default install for DragonFly, Solaris, etc. 8 years ago
Jan Beich 52da9de5c4 build: clock_gettime() is in libc on BSDs 8 years ago
Jan Beich 48b6c98d31 build: libc may not provide iconv() on Unix
/usr/bin/ld: ../common/libcommon.a(string_util.cpp.o): undefined reference to symbol 'libiconv_open'
8 years ago
Anthony J. Bentley 26af2b644c common: convert to standard stat()/fstat() interfaces
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.
8 years ago
bunnei 1ea1affe0a dynarmic: Add new submodule. 8 years ago
bunnei 8410e7891c CMakeLists: Set Boost_INCLUDE_DIR. 8 years ago
bunnei a71d6cc040 Revert "MSVC: Add RelWithDebInfo and removing debugging from Release." 8 years ago
James Rowe 8b685c4308 MSVC: Add RelWithDebInfo and removing debugging from Release.
This should reduce build size on windows from roughly 12MB compressed to 7MB
8 years ago
bunnei 33d17d0b62 qt: Use 5.7 on Windows. 9 years ago
James Rowe a976c2e3ba CMake: Fix for QT 5.7 overwriting -std=c++1y flag
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.
9 years ago
Emmanuel Gil Peyrot e09e683720 Remove the -msse4.1 on ¬MSVC.
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.
9 years ago
Lioncash d5f5aeeab8 CMakeLists: Drop support for Qt 4 9 years ago
MerryMage 87de1ca968 Tests: Run tests on CI 9 years ago
MerryMage 920d2cf41d AudioCore: SDL2 Sink 9 years ago
MerryMage 27ce3b3f51 Externals: Add soundtouch 9 years ago
Sam Spilsbury df81fa11fc CMakeLists: Use imported version of Threads::Threads
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.
9 years ago
Sam Spilsbury d051bd3032 CMakeLists: Use CMAKE_THREAD_LIBS_INIT 9 years ago