generated from ravi688/TemplateRepository
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_master.json
30 lines (30 loc) · 1.08 KB
/
build_master.json
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
{
"project_name" : "PlayVk",
"canonical_name" : "playvk",
"description" : "Single header file library for simplifying vulkan",
"dependencies" : [ "common", "glfw3", "vulkanheaders" ],
"release_defines": [ "-DPVK_RELEASE" ],
"debug_defines": [ "-DPVK_DEBUG" ],
"install_header_dirs" : [ "include/PlayVk" ],
"include_dirs" : [ "include" ],
"vars":
{
"vulkan_sdk_path" : "run_command(find_program('python'), '-c', 'import os; print(os.environ[\"VK_SDK_PATH\"])', check : false).stdout().strip()",
"vulkan_libs_path" : "vulkan_sdk_path + '/Lib/'"
},
"targets" :
[
{
"name" : "playvk_headers",
"is_header_only_library" : true,
"subdirs" : [ "PlayVk" ]
},
{
"name" : "main",
"is_executable" : true,
"windows_link_args" : [ "link_dir: $vulkan_libs_path", "-lvulkan-1", "-lgdi32" ],
"linux_link_args" : [ "link_dir: $vulkan_libs_path", "-lvulkan-1" ],
"sources" : [ "source/main.c" ]
}
]
}