-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathengine.lua
More file actions
83 lines (64 loc) · 2.57 KB
/
engine.lua
File metadata and controls
83 lines (64 loc) · 2.57 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
project "TomatoEditor"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
location "generated\\"
compileas "C++"
targetdir "bin/%{cfg.buildcfg}"
defines {"_CRT_SECURE_NO_WARNINGS", "GENERATOR_USE_GLM", 'MONO_HOME="C:/Program Files/Mono/"', 'MSBUILD_HOME="C:/Windows/Microsoft.NET/Framework/v4.0.30319/"'}
files {
"include/**",
"source/**",
"resources/**",
".editorconfig",
"vendor/glm/glm/**" ,
"vendor/sdl2/include/**",
"vendor/**.h",
"vendor/generator/include/**",
"vendor/generator/src/**",
}
removefiles {"include/tomato/**.cpp"}
removefiles {"include/tomato/**.c"}
includedirs {
"vendor/glfw/include/",
"include/",
"include/tomato",
"vendor/assimp/include/",
"vendor/","vendor/imgui/" ,
"vendor/glm",
"vendor/sdl2/include",
"vendor/generator/include/",
"C:/Program Files/Mono/include/mono-2.0",
}
files {"vendor/imgui/backends/imgui_impl_opengl3.*", "vendor/imgui/backends/imgui_impl_glfw.*"}
files {"vendor/imgui/*"}
files {"vendor/imgui/misc/debuggers/**", "vendor/imgui/misc/cpp/**"}
libdirs {"vendor/assimp/lib/Release/", "vendor/sdl2/lib", "vendor/generator/lib/%{cfg.buildcfg}/", "vendor//x64", "vendor/glew/x64", "C:/Program Files/Mono/lib" }
links {"assimp-vc143-mt.lib","mono-2.0-sgen.lib"}
links {"TomatoRuntime"}
filter "action:vs*"
defines{"_WINSOCK_DEPRECATED_NO_WARNINGS", "_CRT_SECURE_NO_WARNINGS"}
dependson {"TomatoRuntime"}
links {"TomatoRuntime.lib"}
characterset ("MBCS")
links {"opengl32", "glew32", "glfw3", "TomatoRuntime"}
libdirs {"vendor/glfw/lib-vc2022/"}
includedirs {"vendor/glfw/include/"}
--links {"vulkan-1.lib"}
--libdirs {"C:/VulkanSDK/1.3.250.0/Lib"}
--includedirs {"C:/VulkanSDK/1.3.250.0/Include"}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
debugdir "./"
runtime "Debug"
optimize "Off"
--links {"SDL2d", "SDL2maind"}
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
--links {"SDL2", "SDL2main"}
filter "system:windows"
defines{"_WIN32"}
links {"winmm", "kernel32", "opengl32", "gdi32"}
libdirs {"./bin/%{cfg.buildcfg}"}