CMake: Apply source groups using a function

This will add source groups to all projects, not only libraries.
And there is no need anymore to include it in every project file.
This commit is contained in:
Maarten Bent
2022-04-11 23:18:58 +02:00
parent 7683219f90
commit d61c9ee4bf
20 changed files with 22 additions and 51 deletions

View File

@@ -7,8 +7,6 @@
# Licence: wxWindows licence
#############################################################################
include(../../source_groups.cmake)
wx_append_sources(XML_FILES XML)
wx_add_library(wxxml IS_BASE ${XML_FILES})
wx_lib_link_libraries(wxxml PRIVATE ${EXPAT_LIBRARIES})