-
-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add acl-server lib #2837
Closed
Closed
add acl-server lib #2837
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b58e04e
add mysqlpp
heheda123123 cb2192b
Update xmake.lua
heheda123123 534b43b
Update xmake.lua
heheda123123 c9c7bfe
Update xmake.lua
heheda123123 2829169
Update xmake.lua
heheda123123 a350a3f
add linux support
heheda123123 5d2ff95
use add_files
heheda123123 8ef9402
use autoconf
heheda123123 cfe7652
Update xmake.lua
heheda123123 7239361
Update xmake.lua
heheda123123 ea6134c
Update xmake.lua
heheda123123 78f7dd7
Update xmake.lua
heheda123123 551ce0a
Update xmake.lua
heheda123123 7680822
Update xmake.lua
heheda123123 6370400
Merge branch 'xmake-io:master' into master
heheda123123 491d4ae
Merge branch 'xmake-io:master' into master
heheda123123 47cfc3b
add acl-framework
heheda123123 f0998dc
Update xmake.lua
heheda123123 e37de9e
Update xmake.lua
heheda123123 a67529c
Update xmake.lua
heheda123123 603cfde
Merge branch 'xmake-io:master' into master
heheda123123 0c9149e
add asio2
heheda123123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package("acl-server") | ||
|
||
set_homepage("https://github.com/acl-dev/acl") | ||
set_description("A powerful multi-platform network communication library and service framework") | ||
set_license("LGPL-3.0") | ||
|
||
set_urls("https://github.com/acl-dev/acl.git") | ||
add_versions("2023.11.17", "1d9386a73d0317850be27d5a94381e8c4b9ffd26") | ||
|
||
add_deps("cmake") | ||
|
||
on_load(function (package) | ||
if package:config("shared") then | ||
package:add("defines", "ACL_DLL", "HTTP_DLL", "ACL_CPP_DLL") | ||
end | ||
end) | ||
|
||
on_install(function (package) | ||
local configs = {"-DACL_BUILD_SHARED =" .. (package:config("shared") and "YES" or "NO")} | ||
import("package.tools.cmake").install(package, configs) | ||
os.cp(path.join("lib_acl_cpp", "include"), package:installdir()) | ||
os.cp(path.join("lib_acl", "include"), package:installdir()) | ||
os.cp(path.join("lib_fiber", "cpp", "include"), package:installdir()) | ||
os.cp(path.join("lib_protocol", "include"), package:installdir()) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:check_cxxsnippets({test = [[ | ||
#include <iostream> | ||
#include "acl_cpp/lib_acl.hpp" | ||
void test() { | ||
acl::string buf = "hello world!\r\n"; | ||
std::cout << buf.c_str() << std::endl; | ||
} | ||
]]})) | ||
end) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有 tag 和 release 的干嘛不用,优先走 tag/release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
他的 release 命名都是 "3.6.1-6" "3.6.1-5" 这种,我翻了下 xmake-repo 已有的版本号规则,好像没有这样的,不知道怎么处理,所以干脆用commit了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
参考 openssl 包