From 1c789d03f496fe39a2e29eb04c2d715358f40403 Mon Sep 17 00:00:00 2001 From: Valentino Orlandi Date: Thu, 12 Jan 2023 23:05:39 +0100 Subject: [PATCH] Updated CMakeLists.txt Added CTest for CI/CD. Updated translation files list. --- logdoctor/CMakeLists.txt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/logdoctor/CMakeLists.txt b/logdoctor/CMakeLists.txt index 387391c3..d8f3dc11 100644 --- a/logdoctor/CMakeLists.txt +++ b/logdoctor/CMakeLists.txt @@ -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