We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6249900 commit 132ba74Copy full SHA for 132ba74
xmake.lua
@@ -1,3 +1,5 @@
1
+--add_rules("mode.debug", "mode.release")
2
+
3
add_requires("libcurl 8.11.0")
4
5
--includes("src/json")
@@ -6,7 +8,7 @@ set_languages("c++23")
6
8
7
9
target("llmapi")
10
set_kind("static")
- add_files("src/*.cppm", { public = true })
11
+ add_files("src/*.cppm", { public = true, install = true })
12
add_packages("libcurl")
13
--add_deps("__nlohmann_json")
14
add_includedirs("src/json")
@@ -18,7 +20,8 @@ target("llmapi")
18
20
add_cxxflags("-fPIC")
19
21
22
target("llmapi_c")
- set_kind("shared")
23
+ --set_kind("shared")
24
+ set_kind("static")
25
add_files("src/c/llmapi.cpp")
26
add_deps("llmapi")
27
0 commit comments