Skip to content

Commit fc6c3e7

Browse files
authored
Add build scripts (#1)
* Add build scripts * Remove spaces
1 parent c9d9428 commit fc6c3e7

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

conanfile_rtc.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
from conans import ConanFile
4+
5+
6+
class VkBootstrapConan(ConanFile):
7+
name = "vk-bootstrap"
8+
version = "1.3.283"
9+
url = "https://github.com/Esri/vk-bootstrap/blob/runtimecore/"
10+
license = "https://github.com/Esri/vk-bootstrap/blob/runtimecore/LICENSE.md"
11+
description = ("A utility library that jump starts initialization of Vulkan")
12+
13+
# RTC specific triple
14+
settings = "platform_architecture_target"
15+
16+
def package(self):
17+
base = self.source_folder + "/"
18+
relative = "3rdparty/vk-bootstrap/"
19+
20+
# headers
21+
self.copy("*.h*", src=base, dst=relative)
22+
23+
# libraries
24+
output = "output/" + str(self.settings.platform_architecture_target) + "/staticlib"
25+
self.copy("*" + self.name + "*", src=base + "../../" + output, dst=output)

vk-bootstrap.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
project "vk-bootstrap"
2+
3+
dofile(_BUILD_DIR .. "/static_library.lua")
4+
5+
configuration { "*" }
6+
7+
uuid "6168FA90-3111-46B5-8C88-68DC5FB43244"
8+
9+
includedirs {
10+
_3RDPARTY_DIR .. "/Vulkan-Headers/include",
11+
}
12+
13+
files {
14+
"src/VkBootstrapDispatch.h",
15+
"src/VkBootstrap.h",
16+
"src/VkBootstrap.cpp",
17+
}

0 commit comments

Comments
 (0)