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

@@ -8,12 +8,6 @@
#############################################################################
add_subdirectory(base)
# Build GUI tests
if(wxUSE_GUI AND wxBUILD_TESTS STREQUAL "ALL")
add_subdirectory(drawing)
add_subdirectory(gui)
add_subdirectory(headers)
endif()