-
-
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 nappgui #3994
Add nappgui #3994
Conversation
use add_patches to add patch, you can see other packages |
packages/n/nappgui/xmake.lua
Outdated
package:add("includedirs", "inc", "inc/osapp") | ||
|
||
--dylibs are built to `bin` | ||
package:add("linkdirs", "bin") |
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.
dylibs need not linkdirs
packages/n/nappgui/xmake.lua
Outdated
|
||
--dylibs are built to `bin` | ||
package:add("linkdirs", "bin") | ||
package:add("rpathdirs", package:installdir("bin")) |
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 remove it
packages/n/nappgui/xmake.lua
Outdated
package:add("rpathdirs", package:installdir("bin")) | ||
|
||
--static libraries are built to `lib` | ||
package:add("linkdirs", "lib") |
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.
xmake will add it automatically, please remove it
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.
xmake didn't add it for the bin
directory, for some reason the .dylibs are built into there
packages/n/nappgui/xmake.lua
Outdated
--static libraries are built to `lib` | ||
package:add("linkdirs", "lib") | ||
|
||
package:add("links", "core", "draw2d", "geom2d", "gui", "inet", "osapp", "osbs", "osgui", "sewer") |
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 add_links
in description scope.
packages/n/nappgui/xmake.lua
Outdated
|
||
on_test(function (package) | ||
assert(package:check_csnippets({test = [[ | ||
typedef struct _app_t App; |
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.
too long test, please simplify it
Thanks for review, I'll fix |
Building on macOS requires frang75/nappgui_src#136 to be merged, and I don't know how to add it as a patch.