-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
39 lines (33 loc) · 925 Bytes
/
premake5.lua
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
VULKAN_SDK = os.getenv("VULKAN_SDK")
BOOST_SDK = os.getenv("BOOST_INCLUDE")
IncludeDir = {}
IncludeDir["VulkanSDK"] = "%{VULKAN_SDK}/"
IncludeDir["glm"] = "ext/glm"
IncludeDir["BOOST"] = "%{BOOST_SDK}"
workspace "Calculator"
configurations {"Debug", "Release"}
project "Calculator"
kind "WindowedApp"
language "C++"
cppdialect "C++17"
targetdir "bin/"
objdir "bin-int/%{prj.name}"
staticruntime "off"
files {"src/**.cpp", "src/**.h"}
includedirs {
"src/",
"ext/imgui/",
"ext/glfw/include",
"ext/stb",
"%{IncludeDir.VulkanSDK}/Include",
"%{IncludeDir.glm}",
}
links {
"GLFW",
"ImGui",
"dwmapi",
"gdi32",
"%{IncludeDir.VulkanSDK}/Lib/vulkan-1",
}
include "ext/imgui.lua"
include "ext/glfw.lua"