-
Notifications
You must be signed in to change notification settings - Fork 1
/
premake5.lua
40 lines (32 loc) · 1.29 KB
/
premake5.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
workspace "DMCHD.LauncherFix"
configurations { "Release", "Debug" }
architecture "x86_64"
location "build"
buildoptions {"-std:c++latest"}
defines { "rsc_CompanyName=\"ThirteenAG\"" }
defines { "rsc_LegalCopyright=\"MIT License\""}
defines { "rsc_FileVersion=\"1.0.0.0\"", "rsc_ProductVersion=\"1.0.0.0\"" }
defines { "rsc_InternalName=\"%{prj.name}\"", "rsc_ProductName=\"%{prj.name}\"", "rsc_OriginalFilename=\"%{prj.name}.dll\"" }
defines { "rsc_FileDescription=\"Launcher Fix for DMC HD\"" }
defines { "rsc_UpdateUrl=\"https://github.com/ThirteenAG/DMCHD.LauncherFix\"" }
defines { "X64" }
project "DMCHD.LauncherFix"
kind "SharedLib"
language "C++"
targetdir "bin/x64/%{cfg.buildcfg}"
targetextension ".asi"
includedirs { "source" }
includedirs { "external" }
files { "source/dllmain.cpp" }
files { "source/resources/Versioninfo.rc" }
files { "external/hooking/Hooking.Patterns.h", "external/hooking/Hooking.Patterns.cpp" }
includedirs { "external/hooking" }
includedirs { "external/injector/include" }
characterset ("MBCS")
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
flags { "StaticRuntime" }