-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
123 lines (101 loc) · 2.65 KB
/
Copy pathpremake5.lua
File metadata and controls
123 lines (101 loc) · 2.65 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
117
118
119
120
121
122
123
workspace "Iconoclast"
architecture "x64"
configurations
{
"Debug",
"Release"
}
outputdir = "%{cfg.system}/%{cfg.buildcfg}_%{cfg.architecture}"
project "Iconoclast"
location "Iconoclast"
kind "StaticLib"
language "C++"
staticruntime "on"
targetdir ("%{prj.name}" .. "/bin/" .. outputdir)
objdir ("%{prj.name}" .. "/obj/" .. outputdir)
pchheader "IconoclastPCH.h"
pchsource "Iconoclast/src/IconoclastPCH.cpp"
files
{
"%{prj.name}/include/**.h",
"%{prj.name}/src/**.cpp",
}
vpaths
{
["Header Files"] = { "**.h" },
["Source Files"] = { "**.cpp" },
["Resource Files"] = {}
}
includedirs
{
"%{prj.name}/include",
"%{prj.name}/include/Iconoclast",
"%{prj.name}/include/Iconoclast/Platform",
"%{prj.name}/include/Iconoclast/Platform/DirectX",
"%{prj.name}/include/Iconoclast/Platform/OpenGL",
"%{prj.name}/include/Iconoclast/Renderer",
"%{prj.name}/include/Iconoclast/Platform/Windows",
"%{prj.name}/include/Iconoclast/Events"
}
links
{
"dxgi.lib",
"d3d11.lib",
"d3dcompiler.lib",
"opengl32.lib"
}
filter "system:windows"
cppdialect "c++20"
staticruntime "on"
systemversion "latest"
defines
{
}
filter "configurations:Debug"
buildoptions "/MTd"
symbols "on"
filter "configurations:Release"
buildoptions "/MT"
optimize "on"
project "Sandbox"
location "Sandbox"
kind "ConsoleApp"
language "C++"
staticruntime "on"
targetdir ("%{prj.name}" .. "/bin/" .. outputdir)
objdir ("%{prj.name}" .. "/obj/" .. outputdir)
files
{
"%{prj.name}/include/**.h",
"%{prj.name}/src/**.cpp",
}
vpaths
{
["Header Files"] = { "**.h" },
["Source Files"] = { "**.cpp" },
["Resource Files"] = {}
}
includedirs
{
"Iconoclast/include",
"Iconoclast/include/Iconoclast",
"Iconoclast/include/Iconoclast/Platform/DirectX",
"Iconoclast/include/Iconoclast/Platform/OpenGL",
"Iconoclast/include/Iconoclast/Platform/Windows",
"Iconoclast/include/Iconoclast/Renderer",
"Iconoclast/include/Iconoclast/Events"
}
links
{
"Iconoclast",
}
filter "system:windows"
cppdialect "c++20"
staticruntime "on"
systemversion "latest"
filter "configurations:Debug"
buildoptions "/MTd"
symbols "on"
filter "configurations:Release"
buildoptions "/MT"
optimize "on"