From 972a931452c3f06a23a4f67ccfb655851df53fa4 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 22 May 2023 17:22:22 -0400 Subject: Source embedding for output (#2889) * #include an absolute path didn't work - because paths were taken to always be relative. * Fix typo. * Add options for source embedding. * Small improvements. * Working with tests. * Add check for supported language types for embedding. * Try and remove assume warning. * Fix warning on MacOSX. * Some extra checking around Style::Text. * Some small improvements to docs/handling for headers extensions. * Fix md issue. * Small fixes around zeroing partial last element. * Another small fix.... * Small improvement in hex conversion. * Add an assert for unsignedness. --- premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index 44a0da437..20bb6b364 100644 --- a/premake5.lua +++ b/premake5.lua @@ -375,7 +375,7 @@ workspace "slang" filter { "toolset:gcc*", "language:C++" } buildoptions { "-Wno-class-memaccess" } filter { "toolset:clang or gcc*", "language:C++" } - buildoptions { "-Wno-reorder", "-Wno-invalid-offsetof" } + buildoptions { "-Wno-reorder", "-Wno-invalid-offsetof", "-Wno-assume" } -- When compiling the debug configuration, we want to turn -- optimization off, make sure debug symbols are output, -- cgit v1.2.3