This commit is contained in:
Ben V. Brown
2022-03-28 19:29:13 +11:00
parent 078b8f5626
commit e6a080c33d
76 changed files with 2997 additions and 2959 deletions

View File

@@ -0,0 +1,22 @@
add_custom_command(
OUTPUT "translation_${LANG}.cpp"
COMMAND
python3 ${CMAKE_CURRENT_SOURCE_DIR}/../../../Translations/make_translation.py -o translation_${LANG}.cpp ${LANG}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../../../Translations/translation_${LANG}.json
VERBATIM)
set(sources
translation_${LANG}.cpp
# lang_multi.cpp
lang_single.cpp
)
add_library(languages ${sources})
target_link_libraries(languages PUBLIC drivers brieflz )