summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index 0998a338f..d7344ef92 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -393,6 +393,12 @@ workspace "slang"
-- allow libraries to be listed in any order (do not require dependency order)
linkgroups "On"
+ filter {}
+ -- For including windows.h in a way that minimized namespace pollution.
+ -- Although we define these here, we still set them manually in any header
+ -- files which may be included by another project
+ defines { "WIN32_LEAN_AND_MEAN", "VC_EXTRALEAN", "NOMINMAX" }
+
function dump(o)
if type(o) == 'table' then
local s = '{ '