fxsdk: add TARGET_FXCG50_FASTLOAD macro for add-in push builds

This commit is contained in:
Lephenixnoir 2024-02-03 19:45:15 +01:00
parent 8030d6bdc6
commit 2acc439ed4
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -21,6 +21,10 @@ add_link_options(-nostdlib -Wl,--no-warn-rwx-segments)
link_libraries(-lgcc) link_libraries(-lgcc)
add_compile_definitions(TARGET_FXCG50) add_compile_definitions(TARGET_FXCG50)
if(CMAKE_BUILD_TYPE STREQUAL FastLoad)
add_compile_definitions(TARGET_FXCG50_FASTLOAD)
endif()
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)