This repository was archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpremake5.lua
More file actions
116 lines (90 loc) · 2.23 KB
/
Copy pathpremake5.lua
File metadata and controls
116 lines (90 loc) · 2.23 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
systemversion "10.0.18362.0"
toolset "v142"
platforms { "x64" }
workspace "CP77Fun"
configurations { "Debug", "Release" }
location "build"
startproject "Loader"
symbols "On"
staticruntime "On"
filter "configurations:Debug"
targetdir "bin/debug"
defines { "DEBUG" }
filter "configurations:Release"
targetdir "bin/release"
defines { "NDEBUG" }
optimize "Size"
filter {}
includedirs
{
"include/"
}
editandcontinue "Off"
group "Projects"
project "Loader"
buildoptions '/std:c++latest'
kind "SharedLib"
language "C++"
targetname "version"
prebuildcommands
{
"call $(SolutionDir)..\\Tools\\gitrev.cmd"
}
staticruntime "On"
includedirs
{
"vendor/injector/include/",
"vendor/minhook/include/"
}
links
{
"version",
"dbghelp"
}
defines { }
files
{
"src/loader/**.*"
}
postbuildcommands
{
"if \"%COMPUTERNAME%\" == \"GENSOKYO\" ( copy /y \"$(TargetPath)\" \"G:\\Games\\Cyberpunk 2077\\bin\\x64\\version.dll\" )",
}
project "Experiments"
buildoptions '/std:c++latest'
kind "SharedLib"
language "C++"
targetname "Experiments"
staticruntime "On"
includedirs
{
"vendor/injector/include/",
"vendor/minhook/include/"
}
links
{
"MinHook"
}
defines { }
files
{
"src/experiments/**.*"
}
postbuildcommands
{
"if \"%COMPUTERNAME%\" == \"GENSOKYO\" ( copy /y \"$(TargetPath)\" \"G:\\Games\\Cyberpunk 2077\\bin\\x64\\plugins\\Experiments.dll\" )"
}
group "Vendor"
project "MinHook"
targetname "MinHook"
language "C"
kind "StaticLib"
staticruntime "On"
buildoptions "/MT"
files
{
"vendor/minhook/src/buffer.c",
"vendor/minhook/src/hook.c",
"vendor/minhook/src/trampoline.c",
"vendor/minhook/src/hde/hde64.c"
}