aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
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
2014-12-21CMake: Silence PNG not found errorYuri Kunde Schlesner
Hopefully this will make people stop thinking it's a hard dependency.
2014-12-21CMake: Use improved optimization flags on MSVCYuri Kunde Schlesner
While not having a noticeable effect on CPU-bound applications, this change gives an about 30-50% increase in performance for games using the GPU.
2014-12-20Add nihstro (a 3DS shader tools suite) as a submodule.Tony Wasserka
2014-12-20Remove C++14/1y requirementYuri Kunde Schlesner
2014-12-16Switch to C++14 to use std::make_uniqueYuri Kunde Schlesner
2014-12-15Clean up CMake library specificationYuri Kunde Schlesner
The X11 libraries don't need to be specified when doing dynamic linking
2014-12-07Integrate Boost into build system and perform a trivial cleanup in ↵Tony Wasserka
vertex_shader.cpp.
2014-12-01CMake: Place all the built files in BUILD_DIR/bin/<Configuration> when ↵Subv
compiling with MSVC
2014-10-07Added configuration file system.archshift
Uses QSettings on citra-qt, and inih on citra-cli.
2014-09-02Removed the need for X11 on OS Xarchshift
It only causes issues when someone (who doesn't need it) doesn't have it.
2014-09-01CMake cleanupYuri Kunde Schlesner
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.
2014-09-01Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner
This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows.
2014-08-25Pica: Add support for dumping textures.Tony Wasserka
2014-08-19Add Qt5 option. Use Qt5 by default.Sacha
2014-08-18CMake CleanupSacha
2014-05-19* Remove -fpermissivePhillip Stephens
2014-05-19CMakeLists: Fixed GLEW include var name, compile flag varsarchshift
After adding FindGLEW.cmake to externals, the variable call for the GLEW include path needed to be revised. Append flags on OSX, rather than overwrite them. I realized that GCC_COMPILE_FLAGS was changed to CMAKE_CXX_FLAGS mistakenly, so both were changed to a more platform-independent name.
2014-05-19CMakeLists: rename HEADS, improved commentsarchshift
Changes for clarity of comments, removed redundant compiler flags.
2014-05-19Indent fixesarchshift
2014-05-17Indent fixesarchshift
2014-05-16Added FindGLEW to cmake-modulesarchshift
2014-04-30Support for C++11 on OSXarchshift
2014-04-30A bit of Cmake lovearchshift
2014-04-29Some more experimentationarchshift
2014-04-28IT'S ALIVE!archshift
2014-04-25Fixed CMake's import of GLFW.Thomas Edvalson
2014-04-24removed "COVERAGE_" from "GCC_COVERAGE_COMPILE_FLAGS"bunnei
2014-04-23fixes to scm_rev generation to make it conistent with windows buildbunnei
2014-04-23added scm rev generation on Linux/cmakebunnei
2014-04-22fixes to build on linuxbunnei
2014-04-09fixed a bunch of errors in CMakeListsbunnei
2014-04-09updated CMakeListsbunnei
2013-09-26renamed from citrus to citraShizZy
2013-09-13renamed project to 'citrus'ShizZy
2013-08-29adding initial project layoutShizZy