Add hffix v1.1.0 (#495)
* hffix v1.1.0 * Proper platforms * Proper platforms * Proper platforms * Fix typo * Header-only kindpull/497/head
parent
afbaef4583
commit
48d0cb4b15
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
package("hffix") |
||||
|
||||
set_kind("library", {headeronly = true}) |
||||
set_homepage("https://github.com/jamesdbrock/hffix") |
||||
set_description("C++ Library for FIX (Financial Information Exchange) Protocol.") |
||||
set_license("BSD-2-Clause") |
||||
|
||||
add_urls("https://github.com/jamesdbrock/hffix/archive/refs/tags/$(version).zip", |
||||
"https://github.com/jamesdbrock/hffix.git") |
||||
add_versions("v1.1.0", "7646ddb8ca19da31a8835b64493100a0f2239c28980f590918e0b5bfab4d736d") |
||||
|
||||
on_install("linux", "macosx", "bsd", function (package) |
||||
os.cp("include/*.hpp", package:installdir("include/hffix")) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_cxxtypes("hffix::message_reader", {configs = {languages = "c++11"}, includes = "hffix/hffix.hpp"})) |
||||
end) |
Loading…
Reference in new issue