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

+4
View File
@@ -36,6 +36,8 @@
// Also, if we kept track of the likely register content of a cached register,
// (pointer or data), we could avoid many BIC instructions.
#include "ppsspp_config.h"
#if PPSSPP_ARCH(ARM)
#include "Core/MemMap.h"
#include "Core/Config.h"
@@ -427,3 +429,5 @@ namespace MIPSComp
}
}
}
#endif // PPSSPP_ARCH(ARM)