Commit Graph

17 Commits

Author SHA1 Message Date
Florent Castelli
2ba04f3bcd ios: Enable building for arm64 and simulator 2016-12-19 02:07:08 +01:00
Florent Castelli
2149d3db7f cmake: New FindFFmpeg module
This new module should be able to handle both libraries in the regular
paths and fallback to pkg-config.
It is also able to find dynamic libraries, not just static libraries.
It will generate imported targets with the name FFmpeg::<lib> that you
can use in your scripts.

The way it’s used in our main build script has been updated to match.
We also won’t link external libraries used by ffmpeg automatically since
it is not reliable and depend on custom options.
You should use a proper static build with no external dependencies or
a shared build that will have the proper dependencies listed.
2016-12-19 02:07:08 +01:00
Florent Castelli
46fdc0f5f5 cmake: Move some cmake includes to ext 2016-12-18 22:17:41 +01:00
Jools Wills
7e791d28a2 Look in /opt/vc/lib for rpi opengl libs - #9104 2016-11-01 17:33:52 +00:00
Henrik Rydgård
9ec4c8bd31 Merge pull request #9108 from joolswills/rpi_fix
Fix building on rpi - #9104
2016-11-01 09:53:31 +01:00
Jools Wills
afe8e2bfb4 Fix building on rpi - #9104
Check for PPSSPP_ARCH(ARM_NEON) for neon code
Fix up rpi armv6/armv6 toolchain to work around issue with CMAKE_*_FLAGS not being set.
2016-11-01 02:45:30 +00:00
Florent Castelli
24440591a8 cmake: Update FindSDL2 and use imported target 2016-10-29 19:56:30 +02:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
497ae685fa ios: Fix duplicated -arch flags in ASM files 2016-10-18 00:43:39 +02:00
Florent Castelli
b61ebea408 ios: Toolchain goes from tab to 2 spaces 2016-10-13 18:16:12 +02:00
Florent Castelli
46290ab179 ios: Target SDK 6.0 2016-10-13 18:13:44 +02:00
Florent Castelli
f3dda8473f ios: Remove even more useless code from toolchain 2016-10-13 18:13:44 +02:00
Florent Castelli
fdacac29fd ios: Properly find the location of Xcode in toolchain
This was using hardcoded locations that don’t work with alternate Xcode
installations. Use “xcrun” instead to find where the SDK is.
And remove unused code.
2016-10-12 23:13:37 +02:00
Florent Castelli
640764350b cmake: Fix Xcode project generation for iOS 2016-10-12 21:55:42 +02:00
Florent Castelli
2cec77e9ec cmake: Move ccache setup to another file 2016-10-12 18:52:29 +02:00
Florent Castelli
eb2eb4cd9b cmake: Move some platform configuration to a toolchain file 2016-10-12 18:52:23 +02:00
Florent Castelli
9f9e11ed25 cmake: Move modules to a sane location 2016-10-12 18:52:23 +02:00