diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-06-06 13:20:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-06 13:20:42 -0400 |
| commit | 5974f3e543b56cd11f28093c5a9d7410b2b3f979 (patch) | |
| tree | 2e942c44af4156c441138608807419118e5863a9 /premake5.lua | |
| parent | bbd6df7e5eb2c1d8811fbcd1ac37a86e2f9237bb (diff) | |
Made 'slang-test' the startup project on visual studio (#1873)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Make slang-test the startup project.
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 10 |
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 + + |
