-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpremake5.lua
More file actions
86 lines (66 loc) · 2.76 KB
/
Copy pathpremake5.lua
File metadata and controls
86 lines (66 loc) · 2.76 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
workspace "MyBot"
configurations { "Debug32", "Release32", "Debug64", "Release64" }
filter "configurations:*32"
architecture "x86"
filter "configurations:*64"
architecture "x86_64"
-- ---------------------------------- --
project "MyBot"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
staticruntime "off"
-- ---------------------------------- --
files { "src/**.cpp", "commands/**.h" }
includedirs{ "%{wks.location}/include" }
-- ---------------------------------- --
filter { "action:vs2022", "Debug32" }
libdirs { "lib/vs2022/debug/x86" }
links { "dpp.lib" }
targetdir ("%{wks.location}/bin/vs2022/debug/x86")
objdir ("%{wks.location}/bin/vs2022/debug/x86")
filter { "action:vs2022", "Release32" }
libdirs { "lib/vs2022/debug/x86" }
links { "dpp.lib" }
targetdir ("%{wks.location}/bin/vs2022/release/x86")
objdir ("%{wks.location}/bin/vs2022/release/x86")
filter { "action:vs2022", "Debug64" }
libdirs { "lib/vs2022/debug/x64" }
links { "dpp.lib" }
objdir ("%{wks.location}/bin/vs2022/debug/x64")
targetdir ("%{wks.location}/bin/vs2022/debug/x64")
filter { "action:vs2022", "Release64" }
libdirs { "lib/vs2022/debug/x64" }
links { "dpp.lib" }
objdir ("%{wks.location}/bin/vs2022/release/x64")
targetdir ("%{wks.location}/bin/vs2022/release/x64")
-- ---------------------------------- --
filter { "action:vs2019", "Debug32" }
libdirs { "lib/vs2019/debug/x86" }
links { "dpp.lib" }
objdir ("%{wks.location}/bin/vs2019/debug/x86")
targetdir ("%{wks.location}/bin/vs2019/debug/x86")
filter { "action:vs2019", "Release32" }
libdirs { "lib/vs2019/debug/x86" }
links { "dpp.lib" }
objdir ("%{wks.location}/bin/vs2019/release/x86")
targetdir ("%{wks.location}/bin/vs2019/release/x86")
filter { "action:vs2019", "Debug64" }
libdirs { "lib/vs2019/debug/x64" }
links { "dpp.lib" }
objdir ("%{wks.location}/bin/vs2019/debug/x64")
targetdir ("%{wks.location}/bin/vs2019/debug/x64")
filter { "action:vs2019", "Release64" }
libdirs { "lib/vs2019/debug/x64" }
links { "dpp.lib" }
objdir ("%{wks.location}/bin/vs2019/release/x64")
targetdir ("%{wks.location}/bin/vs2019/release/x64")
-- ---------------------------------- --
filter { "system:windows", "toolset:msc" }
systemversion "latest"
filter "configurations:Release"
runtime "Release"
optimize "on"
filter "configurations:Debug"
runtime "Debug"
optimize "on"