summaryrefslogtreecommitdiff
path: root/CMakeTests
AgeCommit message (Collapse)Author
2017-02-07CMake: move modules from CMakeTests/ -> CMake/Michael Maltese
The name "CMakeTests" is inaccurate and irregular.
2017-02-08cmake: Move LLVM import to UICommonFlorent Castelli
To use it, with a modern LLVM (3.9+), set your CMAKE_PREFIX_PATH to point to the LLVM install folder or to a LLVM build folder. We're linking ALL of LLVM libs since I don't really know which ones we need. LTO will take care of sliming the binary size...
2017-02-08cmake: Move BlueZ detection to CoreFlorent Castelli
2017-02-07cmake: Move PulseAudio detection to AudioCommonFlorent Castelli
2017-02-07cmake: Add imported target to FindOpenALFlorent Castelli
2017-02-07cmake: Copy FindOpenAL from upstream CMakeFlorent Castelli
2017-02-07cmake: Move AO detection to AudioCommonFlorent Castelli
2017-02-06Merge pull request #4755 from Orphis/cmake_sdlMat M
cmake: Modernize SDL discovery
2017-02-06Merge pull request #4831 from Orphis/cmake_cleanupMat M
Small CMake fixes
2017-02-06Merge pull request #4818 from ligfx/bundleutilitiesMatthew Parlane
CMake: use BundleUtilities to fix up Dolphin.app
2017-02-06cmake: Move discovery of SDL to InputCommonFlorent Castelli
2017-02-06cmake: Fix possible redefinition of imported target in FindOpenSLESFlorent Castelli
2017-02-06cmake: Fix possible redefinition of imported target in FindALSAFlorent Castelli
2017-02-05cmake: Add imported target to FindALSAFlorent Castelli
2017-02-05cmake: Import FindALSA from upstream CMakeFlorent Castelli
2017-02-03CMake: use BundleUtilities to fix up Dolphin.appMichael Maltese
2017-02-04cmake: Move OpenSLES detection to AudioCommon through find_package()Florent Castelli
2017-02-01cmake: Add dolphin_compile_definitions functionFlorent Castelli
This is similar to add_definitions, but supports generator expressions. It also has an optional argument to add only to Debug or Release configurations.
2017-02-01cmake: check_and_add_flag supports adding to Debug or Release onlyFlorent Castelli
2017-01-25cmake: Move check_and_add_flag to a separate fileFlorent Castelli
Also make it add flags to both C and C++ when appropriate
2017-01-21cmake: Find prebuilt ffmpeg on WindowsFlorent Castelli
2017-01-17cmake: Add CCache supportFlorent Castelli
2017-01-17cmake: Don’t use message(“”)Florent Castelli
If there’s no category, the message ends up in stderr instead of stdout with the other regular CMake output.
2017-01-17cmake: include(Find…)->find_package(…)Florent Castelli
2017-01-17cmake: Only use include directories on actual paths in check_libFlorent Castelli
2016-10-03WiimoteReal: Add a hidapi IO implementationLéo Lam
Based on ca0c2efe7ab19c85449d52dd1bf4beec8603bbfe. Credits go to flacs. However, unlike the original commit, hidapi does not completely replace the current implementations, so we can still connect Wiimotes with 1+2 (without pairing). Also, it is only used on Linux and OS X for now. This removes the advantage of having only one implementation but there is no other choice: using hidapi on Windows is currently impossible because hid_write() is implemented in a way that won't work with Wiimotes. Additionally: * We now check for the device name in addition to the PID/VID so we can support the Balance Board and maybe third-party Wiimotes too. This doesn't achieve anything with the DolphinBar but it does with hidraw. * Added a check to not connect to the same device more than once.
2016-07-19CMake: Bundle FindBacktrace since its missing from older versions.EmptyChaos
2016-07-10Fix configuration when LLVM_PACKAGE_VERSION is unsetcomex
2016-02-11Extend libav check to find versions without pkg-configRyan Houdek
2016-01-03HW: Fix libusb support for older libusb APIsJeffrey Pfau
2016-01-01Improve our LLVM checkRyan Houdek
Adds a link check in to the LLVM find script to make sure it can actually link against the library it finds. Noticed this issue since I have a non-standard LLVM version built and installed.
2015-11-02CMake: Fix FindMiniupnpc for ubuntu 14.04Scott Mansell
Ubuntu 14.04 has miniupnpc 1.6.3 REGEX was failing because the string was empty, causing cmake to error and not generate a Makefile. This allows systems with older versions of miniupnpc to fall back to the statically linked version in externals.
2015-10-12CMake: simplify FindMiniupnpc.cmakeTillmann Karras
miniupnpc.h provides MINIUPNPC_API_VERSION since 1.7 and we require 1.7 or later, so there is no reason to have version detection code for older versions.
2015-10-11Fix OProfile discovery and drop bfd dependencyChristian Widmer
Adds a cmake module to correctly discover OProfile and adjusts the corresponding CMakeLists to make use of it. Additionally removes linking against the bfd library when compiling with OProfile because Dolphin does not use it.
2015-10-03Merge pull request #3091 from Tilka/mbedtlsshuffle2
Update mbed TLS (PolarSSL)
2015-09-30miniupnpc API version 14 changed the upnpDiscover functions, adding an ↵Marisa Kirisame
argument for TTL (should default to 2) this enables support for that should the build system have that specific version installed, the miniupnpc bundled in the project is unchanged
2015-09-26mbedTLS: adapt Dolphin codeTillmann Karras
2015-08-08Make the LLVM detect script verify that the dynamic library actually exists.comex
For some dumb reason, llvm-config doesn't provide the flags to link against the dynamic library copy of LLVM (as opposed to static), so the script has to guess the library name. However, in some installations (such as mine), there is no dynamic copy, which caused Dolphin to fail to link. Change the script to do a link test. If it fails, one option would be to fall back on static linking, but I just have it fail to detect LLVM, because statically linking Dolphin against LLVM is really not a great idea - huge binary, long link time.
2015-07-04Merge branch 'stable'Scott Mansell
2015-07-03CMake: fix PolarSSL testTillmann Karras
2015-07-01Linux: Disable SDL controller backend by default.Scott Mansell
Not deleted, because it's the only option for some other operating systems such as FreeBSD or any other slightly exotic operating system someone might try and run dolphin on.
2015-07-01Linux: Add an evdev based controller backend, to replace SDL.Scott Mansell
2015-06-02Explicitly specify .pc names, since the previous guess in CheckLib.cmake ↵comex
wasn't always right. This fixes detection of at least libenet via pkg-config, and I think libpng via pkg-config pulseaudio via direct detection. Also remove the NOT APPLE from the shared libenet check, because there's no reason for it.
2014-12-07Adds LLVM version check to cmake.Ryan Houdek
We require LLVM 3.4 minimum, so if the user has something older make sure to not attempt compiling. Fixes issues #7858 and #7906.
2014-11-25Update Externals/SFML to 2.1James Cowgill
- all files converted to unix line endings - files from other subsystems and most of system have been removed - include/SFML/System.hpp and include/SFML/Network.hpp modified to not include removed stuff - IpAddress.*pp renamed to IPAddress.*pp to workaround git apply bug with case-only renames
2014-10-28Fix LLVMGabriel Corona
$(llvm-config --ldflags) was passed to the compiler but it needs to be passed to the linker instead (-L and -l flags).
2014-10-26Fixes LLVM library detection.Ryan Houdek
I must have had a dirty cmake configuration which didn't encounter this issue. Make sure we are using LLVM_DEFINITIONS to know where we are linking to libraries at. Link against libLLVM-${VERSION}, the other one was linking us against static libraries...
2014-10-26Merge pull request #1382 from Sonicadvance1/LLVM-disasmskidau
Implements LLVM based disassembler for the debugger.
2014-10-24Implements LLVM based disassembler for the debugger.Ryan Houdek
This will work for all of our platforms, x86, ARMv7, and AArch64. Main issue with this is that LLVM's cmake files aren't correctly finding the LLVM install. Not sure if this is Ubuntu's issue or not, it may just work on other operating systems. We could potentially improve this, you can pass in a specific CPU in to the LLVM disassembler. This would probably affect latency times that are reported by LLVM's disassembly? This needs to be further investigated later.
2014-10-24Removes unused cmake script for finding GLEW.Ryan Houdek