From 59565b3e55d0908e890f6e940b7883dcd2e942b3 Mon Sep 17 00:00:00 2001 From: Kevin Parks Date: Tue, 16 Aug 2022 15:53:14 -0700 Subject: [PATCH] Create conanfile_rtc.py --- conanfile_rtc.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 conanfile_rtc.py diff --git a/conanfile_rtc.py b/conanfile_rtc.py new file mode 100644 index 00000000..3d02c39c --- /dev/null +++ b/conanfile_rtc.py @@ -0,0 +1,25 @@ +from conans import ConanFile + + +class glfwConan(ConanFile): + name = "glfw" + version = "3.3.8" + url = "https://github.com/Esri/glfw" + license = "https://github.com/Esri/glfw/LICENSE.md" + description = ( + "GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development." + ) + + # RTC specific triple + settings = "platform_architecture_target" + + def package(self): + base = self.source_folder + "/" + relative = "3rdparty/glfw/" + + # headers + self.copy("*.h*", src=base + "include/GLFW/", dst=relative + "include/GLFW/") + + # libraries + output = "output/" + str(self.settings.platform_architecture_target) + "/bin" + self.copy("*" + self.name + "*", src=base + "../../" + output, dst=output)