From c8426a748e250756dfb0fb9128f1c08df673dabe Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 5 Mar 2023 13:24:07 +0000 Subject: [PATCH] Build test_terminal for Windows too. I'm not conveniently set up to actually run it during my main build, since that happens entirely on Linux and cross-builds the Windows binaries. But it should at least be possible to build and run it by hand. --- windows/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index 1aa65c20..5ee042bb 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -199,3 +199,12 @@ add_executable(test_lineedit no-jump-list.c) target_link_libraries(test_lineedit guiterminal settings eventloop utils ${platform_libraries}) + +add_executable(test_terminal + ${CMAKE_SOURCE_DIR}/test/test_terminal.c + ${CMAKE_SOURCE_DIR}/stubs/no-gss.c + ${CMAKE_SOURCE_DIR}/stubs/no-storage.c + ${CMAKE_SOURCE_DIR}/stubs/no-timing.c + no-jump-list.c) +target_link_libraries(test_terminal + guiterminal settings eventloop utils ${platform_libraries})