Skip to content

Commit

Permalink
Merge pull request fmtlib#1 from Esri/runtimecore-8.1.1
Browse files Browse the repository at this point in the history
arch: add build files
  • Loading branch information
Craig-Proctor authored Mar 11, 2022
2 parents b6f4cea + b26bf61 commit a2c6ad1
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
23 changes: 23 additions & 0 deletions conanfile_rtc.py
Original file line number Diff line number Diff line change
@@ -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)
37 changes: 37 additions & 0 deletions fmt.lua
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2c6ad1

Please sign in to comment.