Add hffix v1.1.0 (#495)

* hffix v1.1.0

* Proper platforms

* Proper platforms

* Proper platforms

* Fix typo

* Header-only kind
pull/497/head
jj683 4 years ago committed by GitHub
parent afbaef4583
commit 48d0cb4b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      packages/h/hffix/xmake.lua

@ -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…
Cancel
Save