From 4ec6a2ae12b6adb843c0777649ff45a741ca6cbc Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 23 Jul 2024 15:08:19 +0200 Subject: domain: redesign turn_order --- test_support/CMakeLists.txt | 1 + test_support/src/glib_main.cpp | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'test_support') diff --git a/test_support/CMakeLists.txt b/test_support/CMakeLists.txt index ce77a90..447032d 100644 --- a/test_support/CMakeLists.txt +++ b/test_support/CMakeLists.txt @@ -18,6 +18,7 @@ target_compile_definitions("test_support-glib" PUBLIC target_link_libraries("test_support-glib" PUBLIC "PkgConfig::glibmm" + "PkgConfig::giomm" ) # GTK test support diff --git a/test_support/src/glib_main.cpp b/test_support/src/glib_main.cpp index d224bad..b9dc858 100644 --- a/test_support/src/glib_main.cpp +++ b/test_support/src/glib_main.cpp @@ -1,10 +1,19 @@ #include +#include #include +namespace turns::tests +{ + auto register_types() -> void; +} // namespace turns::tests + auto main(int argc, char * argv[]) -> int { + Gio::init(); Glib::init(); + turns::tests::register_types(); + return Catch::Session().run(argc, argv); } \ No newline at end of file -- cgit v1.2.3