-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
41 lines (36 loc) · 1.13 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
41
workspace "Universal-Snowdrop-Modloader"
configurations { "Release" }
architecture "x86_64"
location "build"
cppdialect "C++latest"
exceptionhandling ("SEH")
project "Universal-Snowdrop-Modloader"
kind "SharedLib"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
targetname "version"
targetextension ".dll"
includedirs {
"lib",
"lib/MinHook/include",
"src"
}
files {
"lib/MinHook/include/*.h", "lib/MinHook/src/**.c", "lib/MinHook/src/**.h",
"src/disk_cache_enabler.cpp", "src/disk_cache_enabler.hpp",
"src/dll_info.rc",
"src/dll_main.cpp", "src/dll_main.hpp",
"src/minhook_handler.cpp", "src/minhook_handler.hpp",
"src/mod_loader.cpp", "src/mod_loader.hpp",
"src/script_loader.cpp", "src/script_loader.hpp",
"src/settings.cpp", "src/settings.hpp",
"src/utilities.cpp", "src/utilities.hpp",
"src/version.def",
"src/version_wrapper.cpp", "src/version_wrapper.hpp"
}
characterset ("UNICODE")
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
buildoptions { "/Ox" }
staticruntime "On"