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).
This commit is contained in:
Florent Castelli committed 2016-10-19 12:31:19 +02:00
1 parent 912a58d6c8
commit 8c3552de74
70 files changed
+502 -261

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ void CPUInfo::Detect()
{
// Set some defaults here
HTT = false;
#ifdef _ARCH_64
#ifdef PPSSPP_ARCH(MIPS64)
OS64bit = true;
CPU64bit = true;
Mode64bit = true;