Subversion Repositories WoWGM

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
43 tristanc 1
---
2
-- WoW DLL generator
3
-- Copyright (c) 2026 Tristan Cormier
4
---
5
 
6
    project "WoW"
7
        kind "SharedLib"
8
        language "C++"
9
        characterset "MBCS"
10
        location "Build"
11
        targetdir "Bin"
12
 
13
        dependson { "Storm" }
14
 
15
        vpaths {
16
            ["Headers/*"] = "Source/**.h",
17
            ["Source/*"] = "Source/**.cpp"
18
        }
19
 
20
        files {
21
            "Source/**.cpp",
22
            "Source/**.h",
23
        }
24
 
25
        pchheader "pch.h"
26
        pchsource "Source/pch.cpp"
27
 
28
        filter "platforms:Win32"
29
            architecture "x86"
30
            includedirs { "Source/Os/W32" }
31
            libdirs { "../Contrib/Detours/lib.X86" }
32
            links { "detours" }
33
 
34
        filter {}
35
            includedirs {
36
              "Source",
37
              "../Contrib/Detours/include",
38
              "../Contrib/lua-5.1.1/include",
39
              "../Storm/H"
40
            }
41
            libdirs { "../Storm/Bin", "../Contrib/Detours/lib.X86" }
42
            links { "storm", "detours" }
43
 
44
        filter "configurations:Debug"
45
            runtime "Debug"
46
            defines { "DEBUG_BUILD" }
47
            targetname "WoWD"
48
            symbols "Full"
49
 
50
        filter "configurations:Release"
51
            runtime "Release"
52
            defines { "NDEBUG", "RELEASE_BUILD" }
53
            targetname "WoW"
54
 
55
        filter {}
56
            postbuildcommands {
57
                'copy /Y "$(TargetPath)" "' .. path.getabsolute(_WORKING_DIR .. '/Bootstrap/Resources') .. '"'
58
            }