Hello,
I recently started to learn Vulkan and successfully compiled everything with CodeBlocks so far.
Now I'm starting to write some shaders and wanted to automatically compile them with the rest of the project.
I managed to set up a custom compile command for them (via advanced compiler options, for file endings .vert and .frag) and that works great.
However when adding those files to my project or creating new ones the compile option in the files properties is unchecked, which means they won't actually get compiled unless i manually check that box for each file.
In contrast when creating a new .cpp file the compile option and the link option both are checked by default.
Is there any way to change this behaviour, so all my shader files (.vert and .frag) get the compile option checked by default?
I couldn't find any setting for that, nor a solution when googling for the problem.