Commit 461fa351 authored by nanahira's avatar nanahira

fix windows dll build

parent c0f522f7
...@@ -6,12 +6,11 @@ if USE_AUDIO then ...@@ -6,12 +6,11 @@ if USE_AUDIO then
include "miniaudio/." include "miniaudio/."
end end
if SERVER_MODE then
if SERVER_PRO3_SUPPORT then if SERVER_PRO3_SUPPORT then
project "ygoserver" project "ygoserver"
kind "SharedLib" kind "SharedLib"
end else
if SERVER_MODE then
if not SERVER_PRO3_SUPPORT then
project "ygopro" project "ygopro"
kind "ConsoleApp" kind "ConsoleApp"
end end
...@@ -103,6 +102,9 @@ if SERVER_MODE then ...@@ -103,6 +102,9 @@ if SERVER_MODE then
links { "ws2_32" } links { "ws2_32" }
else else
links { "opengl32", "ws2_32", "winmm", "gdi32", "kernel32", "user32", "imm32", "Dnsapi" } links { "opengl32", "ws2_32", "winmm", "gdi32", "kernel32", "user32", "imm32", "Dnsapi" }
end
if SERVER_PRO3_SUPPORT then
architecture "x86_64"
end end
filter "not system:windows" filter "not system:windows"
links { "event_pthreads", "dl", "pthread", "resolv" } links { "event_pthreads", "dl", "pthread", "resolv" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment