diff --git a/CMakeLists.txt b/CMakeLists.txt index 00ea203..c361f65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,3 +51,4 @@ if (MSVC) else() target_compile_options(TheChef PRIVATE -Wall -Wextra -Wpedantic) endif() + diff --git a/main.cpp b/main.cpp index bec67e5..1e9c57c 100644 --- a/main.cpp +++ b/main.cpp @@ -130,6 +130,8 @@ int main(int argc, char** argv) { // ---------------------------- SpirvShaderCompiler::Options scOpt; scOpt.debugInfo = false; // set true if you want debug info in SPIR-V + scOpt.defines = { "DEBUG=1" }; + // Common conventions (adjust to your folder layout): // - shaders live under /shaders