-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
29 lines (27 loc) · 806 Bytes
/
premake5.lua
File metadata and controls
29 lines (27 loc) · 806 Bytes
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
workspace("vulcain")
configurations({"Debug", "Release"})
location("build")
-- Library
project("vulcain")
kind("StaticLib")
toolset("clang")
language("C")
targetdir("bin")
buildoptions({"-Wall", "-Werror", "-g"})
libdirs({"third_party/vma/", "third_party/cimgui"})
includedirs({"third_party/vma/", "third_party/cimgui"})
links({"m", "vulkan", "vma", "cimgui"})
files({"src/**.c"})
-- Playground
project("vulcain_pg")
kind("ConsoleApp")
language("C")
toolset("clang")
targetdir("bin")
buildoptions({"-Wall", "-Werror", "-g"})
dependson({"libvulcain"})
libdirs({"bin/","third_party/cimgui"})
libdirs({"third_party/vma/", "third_party/cimgui"})
links({"m", "vulcain", "glfw", "vulkan", "vma", "stdc++", "cimgui"})
includedirs({"third_party/vma/", "src/", "third_party/cimgui"})
files({"pg/**.c","pg/**.h"})