-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxmake.lua
More file actions
26 lines (19 loc) · 797 Bytes
/
xmake.lua
File metadata and controls
26 lines (19 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package("llmapi")
--set_kind("library", {headeronly = true})
set_homepage("https://github.com/mcpplibs/llmapi")
set_description("Modern C++ LLM API client with openai-compatible support")
set_license("Apache-2.0")
add_urls(
-- https://github.com/mcpplibs/llmapi/archive/refs/tags/0.0.1.tar.gz
"https://github.com/mcpplibs/llmapi/archive/refs/tags/$(version).tar.gz",
"https://github.com/mcpplibs/llmapi.git"
)
add_versions("0.0.1", "174f86d3afdf48a57ad1cc9688718d1f1100a78a7e56686c823c573c3ccf99f4")
add_includedirs("include")
add_deps("libcurl 8.11.0")
on_load(function (package)
package:add("links", "llmapi")
end)
on_install(function (package)
import("package.tools.xmake").install(package)
end)