Updated CMakeLists.txt

Added CTest for CI/CD.
Updated translation files list.
This commit is contained in:
Valentino Orlandi 2023-01-12 23:05:39 +01:00
parent 6537cb4dda
commit 1c789d03f4
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
1 changed files with 14 additions and 4 deletions

View File

@ -16,10 +16,12 @@ find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets Charts LinguistTo
set(TS_FILES
translations/LogDoctor_en.ts
translations/LogDoctor_es.ts
translations/LogDoctor_fr.ts
translations/LogDoctor_it.ts
translations/LogDoctor_en_GB.ts
translations/LogDoctor_es_ES.ts
translations/LogDoctor_fr_FR.ts
translations/LogDoctor_it_IT.ts
translations/LogDoctor_ja_JP.ts
translations/LogDoctor_pt_BR.ts
)
@ -191,6 +193,14 @@ if(QT_VERSION_MAJOR EQUAL 6)
endif()
# CTest
enable_testing()
add_test(
NAME it_works
COMMAND LogDoctor
)
# Deb/Flatpak
if(UNIX AND NOT APPLE)
install(TARGETS