When I use target_precompile_headers()
in visual studio I will get the following structure:
+-- Precompile Header File
| |
| +-- cmake_pch.hxx
| +-- cmake_pch.hxx
| +-- cmake_pch.hxx
| +-- cmake_pch.hxx
+-- Source Files
| |
| +-- cmake_pch.cxx
Calling source_group()
after this method doesn't work. How do I group these files together?