CMakeLists.txt: get list source files into variable FILES_TO_TRANSLATE

This commit is contained in:
Anton Midyukov 2023-07-24 14:02:56 +07:00
parent 264ecfae7f
commit 7c26589e86
2 changed files with 4 additions and 1 deletions

View File

@ -53,6 +53,10 @@ add_subdirectory( library )
add_subdirectory( qucs-transcalc )
add_subdirectory( qucs-powercombining )
#add_subdirectory( examples )
IF (UPDATE_TRANSLATIONS)
file(GLOB_RECURSE FILES_TO_TRANSLATE "*.cpp" "*.h" "*.ui")
ENDIF (UPDATE_TRANSLATIONS)
add_subdirectory( translations )
install(DIRECTORY "examples" DESTINATION "share/${QUCS_NAME}")

View File

@ -3,7 +3,6 @@
# Handle Qucs translations
# TODO
# - get list of .cpp files to refresh/update the .ts files
# - evaluate need to merge the qtgeneric_XX.ts into the final .qm (see translations/Makefile.am)
#