diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-12 12:37:10 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-12 12:37:10 +0200 |
| commit | 87d659ca1a14fe8cf4871b8db0f42d005964f565 (patch) | |
| tree | 704e94d644d2f27d474fdc211894cf0ab88614e4 /test_support/src | |
| parent | 61ba5c151040533f23642c07fc2230a5718396ee (diff) | |
| download | turns-87d659ca1a14fe8cf4871b8db0f42d005964f565.tar.xz turns-87d659ca1a14fe8cf4871b8db0f42d005964f565.zip | |
app/windows: add basic main window
Diffstat (limited to 'test_support/src')
| -rw-r--r-- | test_support/src/gtk_main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test_support/src/gtk_main.cpp b/test_support/src/gtk_main.cpp new file mode 100644 index 0000000..02173f9 --- /dev/null +++ b/test_support/src/gtk_main.cpp @@ -0,0 +1,12 @@ +#include <catch2/catch_session.hpp> + +#include <adwaita.h> +#include <gtkmm/init.h> + +auto main(int argc, char * argv[]) -> int +{ + Gtk::init_gtkmm_internals(); + adw_init(); + + return Catch::Session().run(argc, argv); +}
\ No newline at end of file |
