summaryrefslogtreecommitdiffstats
path: root/scripts/src/osd/winui_cfg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/osd/winui_cfg.lua')
-rw-r--r--scripts/src/osd/winui_cfg.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/src/osd/winui_cfg.lua b/scripts/src/osd/winui_cfg.lua
new file mode 100644
index 00000000000..5823a20b171
--- /dev/null
+++ b/scripts/src/osd/winui_cfg.lua
@@ -0,0 +1,35 @@
+defines {
+ "UNICODE",
+ "_UNICODE",
+ "OSD_WINDOWS",
+ "USE_SDL=0",
+ --"WIN95_MULTIMON"
+ "_WIN32_WINNT=0x0501",
+ "USE_QTDEBUG=0",
+ "WIN32_LEAN_AND_MEAN",
+ "NOMINMAX",
+}
+
+configuration { "vs*" }
+ flags {
+ "Unicode",
+ }
+
+configuration { }
+
+if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]==1 then
+ defines {
+ "USE_NETWORK",
+ }
+ if _OPTIONS["USE_TAPTUN"]=="1" then
+ defines {
+ "OSD_NET_USE_TAPTUN",
+ }
+ end
+ if _OPTIONS["USE_PCAP"]=="1" then
+ defines {
+ "OSD_NET_USE_PCAP",
+ }
+ end
+end
+