CMakeFilters Example project showing how to make filters with CMake. It is just using source_group: Hope that helps! 😃