Blame | Last modification | View Log | RSS feed
---
-- WoW DLL generator
-- Copyright (c) 2026 Tristan Cormier
---
project "WoW"
kind "SharedLib"
language "C++"
characterset "MBCS"
location "Build"
targetdir "Bin"
dependson { "Storm" }
vpaths {
["Headers/*"] = "Source/**.h",
["Source/*"] = "Source/**.cpp"
}
files {
"Source/**.cpp",
"Source/**.h",
}
pchheader "pch.h"
pchsource "Source/pch.cpp"
filter "platforms:Win32"
architecture "x86"
includedirs { "Source/Os/W32" }
libdirs { "../Contrib/Detours/lib.X86" }
links { "detours" }
filter {}
includedirs {
"Source",
"../Contrib/Detours/include",
"../Contrib/lua-5.1.1/include",
"../Storm/H"
}
libdirs { "../Storm/Bin", "../Contrib/Detours/lib.X86" }
links { "storm", "detours" }
filter "configurations:Debug"
runtime "Debug"
defines { "DEBUG_BUILD" }
targetname "WoWD"
symbols "Full"
filter "configurations:Release"
runtime "Release"
defines { "NDEBUG", "RELEASE_BUILD" }
targetname "WoW"
filter {}
postbuildcommands {
'copy /Y "$(TargetPath)" "' .. path.getabsolute(_WORKING_DIR .. '/Bootstrap/Resources') .. '"'
}