mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
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:
1 parent
912a58d6c8
commit
8c3552de74
70 files changed
+502
-261
No files matched your search
@@ -14,7 +14,6 @@ set(MOBILE_DEVICE ON)
|
||||
set(USING_GLES2 ON)
|
||||
set(IPHONEOS_DEPLOYMENT_TARGET 6.0)
|
||||
add_definitions(
|
||||
-DIOS
|
||||
-DGL_ETC1_RGB8_OES=0
|
||||
-U__STRICT_ANSI__
|
||||
)
|
||||
|
||||
@@ -13,7 +13,7 @@ link_directories(
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DRPI
|
||||
-DPPSSPP_PLATFORM_RPI=1
|
||||
)
|
||||
|
||||
set(ARCH_FLAGS "-mfpu=vfp -march=armv6j -mfloat-abi=hard")
|
||||
|
||||
@@ -13,7 +13,7 @@ link_directories(
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DRPI
|
||||
-DPPSSPP_PLATFORM_RPI=1
|
||||
-U__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user