summaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index a0a5dbb35..1717cdcf2 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -154,6 +154,7 @@ enableOptix = not not (_OPTIONS["enable-optix"] == "true" or optixPath)
enableProfile = (_OPTIONS["enable-profile"] == "true")
enableEmbedStdLib = (_OPTIONS["enable-embed-stdlib"] == "true")
enableXlib = (_OPTIONS["enable-xlib"] == "true")
+
-- This is the path where nvapi is expected to be found
nvapiPath = "external/nvapi"
@@ -216,6 +217,12 @@ workspace "slang"
if buildLocation then
location(buildLocation)
end
+
+ --
+ -- Make slang-test the startup project.
+ --
+ -- https://premake.github.io/docs/startproject
+ startproject "slang-test"
-- The output binary directory will be derived from the OS
-- and configuration options, e.g. `bin/windows-x64/debug/`
@@ -244,7 +251,6 @@ workspace "slang"
architecture "ARM"
-
filter { "toolset:clang or gcc*" }
buildoptions { "-Wno-unused-parameter", "-Wno-type-limits", "-Wno-sign-compare", "-Wno-unused-variable", "-Wno-reorder", "-Wno-switch", "-Wno-return-type", "-Wno-unused-local-typedefs", "-Wno-parentheses", "-fvisibility=hidden" , "-Wno-ignored-optimization-argument", "-Wno-unknown-warning-option", "-Wno-class-memaccess"}
@@ -1412,3 +1418,5 @@ standardProject("slang-glslang", "source/slang-glslang")
--
end
+
+