mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-10 17:20:41 +03:00
23 lines
902 B
Lua
23 lines
902 B
Lua
set_project("cpp-freegpt-webui")
|
|
set_version("0.0.1", {build = "%Y%m%d%H%M"})
|
|
set_xmakever("2.7.8")
|
|
|
|
add_repositories("my_private_repo https://github.com/fantasy-peak/xmake-repo.git")
|
|
|
|
add_requires("openssl", {system = false})
|
|
add_requires("zlib", {system = false})
|
|
add_requires("yaml_cpp_struct v1.0.4", "nlohmann_json", "spdlog", "inja", "plusaes", "concurrentqueue")
|
|
add_requires("boost", {configs = {iostreams = true}})
|
|
|
|
set_languages("c++23")
|
|
set_policy("check.auto_ignore_flags", false)
|
|
add_cxflags("-O2 -Wall -Wextra -pedantic-errors -Wno-missing-field-initializers -Wno-ignored-qualifiers")
|
|
add_includedirs("include")
|
|
|
|
target("cpp-freegpt-webui")
|
|
set_kind("binary")
|
|
add_files("src/*.cpp")
|
|
add_packages("openssl", "yaml_cpp_struct", "nlohmann_json", "spdlog", "boost", "inja", "plusaes", "zlib", "concurrentqueue")
|
|
add_syslinks("pthread", "curl-impersonate-chrome")
|
|
target_end()
|