User forums > Using Code::Blocks

Directx 11

(1/1)

Yasharora:
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

oBFusCATed:
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.

Navigation

[0] Message Index

Go to full version