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

@@ -157,6 +157,7 @@ function(wx_set_common_target_properties target_name)
set_target_properties(${target_name} PROPERTIES LINK_FLAGS "-pthread")
endif()
endif()
wx_set_source_groups()
endfunction()
# Set common properties on wx library target