From b26bf6101875cd9f1c8f387607c4f86f7732ab02 Mon Sep 17 00:00:00 2001 From: Craig Proctor Date: Wed, 9 Mar 2022 10:37:20 -0800 Subject: [PATCH] arch: add build files --- conanfile_rtc.py | 23 +++++++++++++++++++++++ fmt.lua | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 conanfile_rtc.py create mode 100644 fmt.lua diff --git a/conanfile_rtc.py b/conanfile_rtc.py new file mode 100644 index 000000000000..6e4c63ae11e7 --- /dev/null +++ b/conanfile_rtc.py @@ -0,0 +1,23 @@ +from conans import ConanFile + + +class FMTConan(ConanFile): + name = "fmt" + version = "8.1.1" + url = "https://github.com/Esri/fmt/tree/runtimecore" + license = "https://github.com/Esri/fmt/blob/runtimecore/LICENSE" + description = "{fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams." + + # RTC specific triple + settings = "platform_architecture_target" + + def package(self): + base = self.source_folder + "/" + relative = "3rdparty/fmt/" + + # headers + self.copy("*.h", src=base + "src", dst=relative + "src") + + # libraries + output = "output/" + str(self.settings.platform_architecture_target) + "/staticlib" + self.copy("*" + self.name + "*", src=base + "../../" + output, dst=output) diff --git a/fmt.lua b/fmt.lua new file mode 100644 index 000000000000..3d10cf4e2fee --- /dev/null +++ b/fmt.lua @@ -0,0 +1,37 @@ +project "fmt" + +dofile(_BUILD_DIR .. "/static_library.lua") + +configuration { "*" } + +uuid "cfb5e9c4-d33f-47ba-befd-4d88ed0310f5" + +includedirs { + "include", +} + +files { + "src/format.cc", + "src/os.cc", +} + +if (_PLATFORM_ANDROID) then +end + +if (_PLATFORM_COCOA) then +end + +if (_PLATFORM_IOS) then +end + +if (_PLATFORM_LINUX) then +end + +if (_PLATFORM_MACOS) then +end + +if (_PLATFORM_WINDOWS) then +end + +if (_PLATFORM_WINUWP) then +end