I don't understand the source_group command in my CMakeLists.txt. When I do this it works:
file(GLOB INPUT_HEAD KeyBoard.h Mouse.h)
source_group("Header Files\\Input" FILES ${INPUT_HEAD})
But this isn't working:
file(GLOB SHADERS ../Shaders/*.txt)
source_group("Source Files\\Shaders" FILES ${SHADERS})
Any suggestions on how to solve this? (I have read the documentation for this command, I don't understand whythis doesn't work)