cmake: add arch-specific support flags

This commit is contained in:
Lephenixnoir 2021-05-20 11:33:22 +02:00
parent ade01b532e
commit 99339ae9f4
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -43,6 +43,14 @@ if(FXLIBC_TARGET STREQUAL gint)
add_definitions(-D__SUPPORT_GINT)
endif()
if(sh-generic IN_LIST TARGET_FOLDERS)
add_definitions(-D__SUPPORT_ARCH_SH)
endif()
if(x86-generic IN_LIST TARGET_FOLDERS)
add_definitions(-D__SUPPORT_ARCH_X86)
endif()
# TODO: Preprocessor definitions for configuration
# configure_file()