-
-
Notifications
You must be signed in to change notification settings - Fork 396
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 cmdline #1368
add cmdline #1368
Conversation
packages/c/cmdline/xmake.lua
Outdated
end) | ||
|
||
on_test(function (package) | ||
assert(package:has_cxxincludes("cmdline.h")) |
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.
4 spaces indent
packages/c/cmdline/xmake.lua
Outdated
end) | ||
|
||
on_test(function (package) | ||
assert(package:has_cxxincludes("cmdline.h")) |
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.
please use has_cxxfuncs/has_cfuncs to check a interface function.
on windows. If it does not support windows, please disable it. on_install("linux", "macosx", "bsd", function(package)
end) |
Yes, I notice it. I just realized that cmdline doesn't support msvc without a patch (tanakh/cmdline#6) cause I don't have msvc installed.
Thanks! I will fix it right now. |
you can also use |
Thanks for reminding. I may look into this later in another PR since I now don't use msvc and don't have it installed. |
add https://github.com/tanakh/cmdline