CMake: Use common function for adding samples, tests and demos

This commit is contained in:
Maarten Bent
2021-01-16 01:33:55 +01:00
parent 4a3ff8c180
commit 226a3de596
7 changed files with 112 additions and 186 deletions

View File

@@ -43,8 +43,6 @@ wx_add_test(test_drawing ${TEST_DRAWING_SRC}
if(wxUSE_SOCKETS)
wx_exe_link_libraries(test_drawing wxnet)
endif()
wx_exe_link_libraries(test_drawing wxcore)
wx_test_enable_precomp(test_drawing)
# This is a sample plugin, it simply uses a wxImage based
# wxGraphicsContext. It should render the same as the built-in test. Use