summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2023-05-22 17:22:22 -0400
committerGitHub <noreply@github.com>2023-05-22 17:22:22 -0400
commit972a931452c3f06a23a4f67ccfb655851df53fa4 (patch)
tree309a75c5239af163e47bc0e123d023683c1ec74a /premake5.lua
parent33e15236c6fd8623bc516a194ca65e8810f1f855 (diff)
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.
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua2
1 files changed, 1 insertions, 1 deletions
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,