forked from fmtlib/fmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request fmtlib#1 from Esri/runtimecore-8.1.1
arch: add build files
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |