cmake: declare assets through the fxSDK utility

This commit is contained in:
Lephe 2021-01-27 20:48:59 +01:00
parent 815d479ab7
commit e5a7d968a6
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -100,9 +100,7 @@ set(SOURCES_CG
set(ASSETS_FX src/font5x7.png)
set(ASSETS_CG src/font8x9.png)
set_source_files_properties(${ASSETS_FX} ${ASSETS_CG} PROPERTIES
LANGUAGE FXCONV
OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/fxconv-metadata.txt")
fxconv_declare_assets(${ASSETS_FX} ${ASSETS_CG})
include_directories("${PROJECT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include")
add_compile_options(-Wall -Wextra -std=c11 -Os -fstrict-volatile-bitfields)