Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Yasharora on August 10, 2021, 11:44:17 am
-
I'm new to directx so I wanted to know how to compile shaders in codeblocks. I'm posting it here because the tutorial I'm following uses visual studio and the settings for hlsl compiling ,output directories and shader level can be configured from visual studio , which obviously I'm not aware of how to do that in codeblocks
-
Probably this is something which might help you: https://wiki.codeblocks.org/index.php/Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
But you need to know in advance what commands you have to execute in order to compile a hlsl file to its binary variant.