From 56521ad8af538d1ced8bf9a986cdabf1bb962b04 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 29 Sep 2020 00:09:46 +0200 Subject: [PATCH] CMake: add missing test files Add the source files present in the bkl but not CMakeLists.txt to the latter one too. Also link with AUI library now that a test file using it is included. Closes https://github.com/wxWidgets/wxWidgets/pull/2064 --- build/cmake/tests/gui/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/cmake/tests/gui/CMakeLists.txt b/build/cmake/tests/gui/CMakeLists.txt index c0f62ff77e..61cc082cc6 100644 --- a/build/cmake/tests/gui/CMakeLists.txt +++ b/build/cmake/tests/gui/CMakeLists.txt @@ -22,9 +22,11 @@ set(TEST_GUI_SRC graphics/affinematrix.cpp graphics/boundingbox.cpp graphics/clippingbox.cpp + graphics/coords.cpp graphics/graphmatrix.cpp graphics/graphpath.cpp config/config.cpp + controls/auitest.cpp controls/bitmapcomboboxtest.cpp controls/bitmaptogglebuttontest.cpp controls/bookctrlbasetest.cpp @@ -102,11 +104,13 @@ set(TEST_GUI_SRC net/socket.cpp persistence/tlw.cpp persistence/dataview.cpp + rowheightcache/rowheightcachetest.cpp sizers/boxsizer.cpp sizers/gridsizer.cpp sizers/wrapsizer.cpp toplevel/toplevel.cpp validators/valnum.cpp + validators/valtext.cpp window/clientsize.cpp window/setsize.cpp xml/xrctest.cpp @@ -169,6 +173,9 @@ wx_add_test(test_gui ${TEST_GUI_SRC} RES ../samples/sample.rc ) wx_exe_link_libraries(test_gui wxcore) +if(wxUSE_AUI) + wx_exe_link_libraries(test_gui wxaui) +endif() if(wxUSE_RICHTEXT) wx_exe_link_libraries(test_gui wxrichtext) endif()