I'm trying to use CMake to add an entire directory structure to my Visual Studio project. I know it is possible in VS because I already succeed by manually copying the root folder of the structure in the same directory of the project and by selecting "Include in Project". However, I'm not sure that it would be possible with CMake.
My .vcxproj contains this ItemGroup after this manual operation:
<ItemGroup>
<Text Include="asd\test.txt" />
<Text Include="asd\asd2\test.txt" />
</ItemGroup>
As you can see I just added two folders and two txt files. This produces the result I'm trying to achieve.
Any idea on how to generate this with CMake?