-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
42 lines (31 loc) · 1.07 KB
/
premake5.lua
File metadata and controls
42 lines (31 loc) · 1.07 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
workspace "HelloVulkan"
location "build"
configurations { "Debug", "Release" }
project "HelloVulkan"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
targetdir "bin/%{cfg.buildcfg}"
files { "src/**.hpp", "src/**.cpp"}
defines {"SPDLOG_COMPILED_LIB", "GLFW_INCLUDE_VULKAN", "GLM_FORCE_RADIANS", "GLM_FORCE_DEPTH_ZERO_TO_ONE"}
includedirs { "external/include", "E:\\VulkanSDK\\1.3.290.0\\Include" }
libdirs { "external/lib", "E:\\VulkanSDK\\1.3.290.0\\Lib"}
links {"vulkan-1.lib", "glfw3", "spdlog" }
linkoptions { "-g" }
warnings "Extra"
disablewarnings { "unused-variable", "unused-parameter", "unused-private-field" }
filter "action:vs*"
toolset "msc"
filter "action:gmake*"
toolset "gcc"
filter "files:src/**.cpp"
pchheader "src/pch.hpp"
filter "system:windows"
links {"gdi32", "user32", "shell32"}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
optimize "Off"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"