aboutsummaryrefslogtreecommitdiff
path: root/test_support/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-25 08:53:59 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-25 08:53:59 +0200
commit02a030a95b27034eedc151488a014950595510de (patch)
tree4a66c7321a32590d370a58f8729db2e0b2b2ddd8 /test_support/CMakeLists.txt
parente05d980091724358f689598643b0f17ec671d495 (diff)
downloadturns-02a030a95b27034eedc151488a014950595510de.tar.xz
turns-02a030a95b27034eedc151488a014950595510de.zip
turns: dissolve test_support library
Diffstat (limited to 'test_support/CMakeLists.txt')
-rw-r--r--test_support/CMakeLists.txt66
1 files changed, 0 insertions, 66 deletions
diff --git a/test_support/CMakeLists.txt b/test_support/CMakeLists.txt
deleted file mode 100644
index 447032d..0000000
--- a/test_support/CMakeLists.txt
+++ /dev/null
@@ -1,66 +0,0 @@
-get_target_property(TRANSLATIONS_BINARY_DIR "lang" BINARY_DIR)
-
-# Glib test support
-
-add_library("test_support-glib" OBJECT
- "src/glib_main.cpp"
-)
-
-add_library("turns::glib-test-main" ALIAS "test_support-glib")
-
-target_compile_features("test_support-glib" PRIVATE
- "cxx_std_23"
-)
-
-target_compile_definitions("test_support-glib" PUBLIC
- "TESTLOCALEDIR=\"${TRANSLATIONS_BINARY_DIR}\""
-)
-
-target_link_libraries("test_support-glib" PUBLIC
- "PkgConfig::glibmm"
- "PkgConfig::giomm"
-)
-
-# GTK test support
-
-add_library("test_support-gtk" OBJECT
- "src/gtk_main.cpp"
-)
-
-add_library("turns::gtk-test-main" ALIAS "test_support-gtk")
-
-target_compile_features("test_support-gtk" PRIVATE
- "cxx_std_23"
-)
-
-target_compile_definitions("test_support-gtk" PUBLIC
- "TESTLOCALEDIR=\"${TRANSLATIONS_BINARY_DIR}\""
-)
-
-target_link_libraries("test_support-gtk" PUBLIC
- "turns::lang"
-
- "PkgConfig::adwaita"
- "PkgConfig::gtkmm"
-)
-
-# Intl test support
-
-add_library("test_support-intl" OBJECT
- "src/intl_main.cpp"
-)
-
-add_library("turns::intl-test-main" ALIAS "test_support-intl")
-
-target_compile_features("test_support-intl" PRIVATE
- "cxx_std_23"
-)
-
-target_compile_definitions("test_support-intl" PUBLIC
- "TESTLOCALEDIR=\"${TRANSLATIONS_BINARY_DIR}\""
-)
-
-target_link_libraries("test_support-intl" PUBLIC
- "Intl::Intl"
- "turns::lang"
-)