Skip to content
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

Closed
wants to merge 0 commits into from
Closed

Add nappgui #3994

wants to merge 0 commits into from

Conversation

@waruqi
Copy link
Member

waruqi commented May 10, 2024

use add_patches to add patch, you can see other packages

package:add("includedirs", "inc", "inc/osapp")

--dylibs are built to `bin`
package:add("linkdirs", "bin")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dylibs need not linkdirs


--dylibs are built to `bin`
package:add("linkdirs", "bin")
package:add("rpathdirs", package:installdir("bin"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove it

package:add("rpathdirs", package:installdir("bin"))

--static libraries are built to `lib`
package:add("linkdirs", "lib")
Copy link
Member

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

Copy link
Contributor Author

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

--static libraries are built to `lib`
package:add("linkdirs", "lib")

package:add("links", "core", "draw2d", "geom2d", "gui", "inet", "osapp", "osbs", "osgui", "sewer")
Copy link
Member

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.


on_test(function (package)
assert(package:check_csnippets({test = [[
typedef struct _app_t App;
Copy link
Member

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

@Frityet
Copy link
Contributor Author

Frityet commented May 10, 2024

Thanks for review, I'll fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants