-
Notifications
You must be signed in to change notification settings - Fork 6
/
premake5.lua
40 lines (33 loc) · 1.27 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 "IV.EFLC.ColAccel"
configurations { "Release", "Debug" }
platforms { "Win32" }
architecture "x32"
location "build"
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}.asi\"" }
defines { "rsc_FileDescription=\"https://github.com/ThirteenAG\"" }
defines { "rsc_UpdateUrl=\"https://github.com/ThirteenAG/IV.EFLC.ColAccel\"" }
files { "source/*.h" }
files { "source/*.cpp", "source/*.c" }
files { "source/*.rc" }
files { "external/hooking/Hooking.Patterns.h", "external/hooking/Hooking.Patterns.cpp" }
includedirs { "source/" }
includedirs { "external/hooking" }
includedirs { "external/injector/include" }
project "IV.EFLC.ColAccel"
kind "SharedLib"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
targetextension ".asi"
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
characterset ("MBCS")
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
flags { "StaticRuntime" }
characterset ("MBCS")
targetdir "data/"