-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
79 lines (66 loc) · 1.24 KB
/
Copy pathpremake5.lua
File metadata and controls
79 lines (66 loc) · 1.24 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
workspace "Lettermorph"
location "build"
staticruntime "On"
cppdialect "C++17"
architecture "x64"
startproject "Lettermorph"
configurations
{
"Debug",
"Release",
"Dist"
}
flags
{
"MultiProcessorCompile"
}
project "Lettermorph"
location "build"
kind "ConsoleApp"
targetdir "build/bin/Lettermorph-%{cfg.system}/%{cfg.shortname}"
objdir "build/bin-obj/Lettermorph-%{cfg.system}/%{cfg.shortname}"
files
{
"src/**.cpp",
"src/**.h"
}
includedirs
{
"src"
}
sysincludedirs
{
"thirdparty/SDL3/include",
"thirdparty/SDL_image/include",
"thirdparty/SDL_ttf/include",
"thirdparty/SDL_mixer/include"
}
libdirs
{
"thirdparty/SDL3/lib/%{cfg.system}/%{cfg.shortname}",
"thirdparty/SDL_ttf/lib/%{cfg.system}/%{cfg.shortname}",
"thirdparty/SDL_image/lib/%{cfg.system}/%{cfg.shortname}",
"thirdparty/SDL_mixer/lib/%{cfg.system}/%{cfg.shortname}"
}
links
{
"SDL3",
"SDL3_ttf",
"SDL3_image",
"SDL3_mixer"
}
filter "configurations:Debug"
symbols "On"
optimize "Off"
filter "configurations:Release"
symbols "Off"
optimize "On"
filter "configurations:Dist"
symbols "Off"
optimize "Full"
filter "system:macosx"
links
{
"Cocoa.framework",
"QuartzCore.framework"
}