mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-20 09:57:01 +02:00
cmake: add arch-specific support flags
This commit is contained in:
parent
ade01b532e
commit
99339ae9f4
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,14 @@ if(FXLIBC_TARGET STREQUAL gint)
|
||||||
add_definitions(-D__SUPPORT_GINT)
|
add_definitions(-D__SUPPORT_GINT)
|
||||||
endif()
|
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
|
# TODO: Preprocessor definitions for configuration
|
||||||
# configure_file()
|
# configure_file()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue