Skip to content
Discussion options

You must be logged in to vote

直接 include 不就好了,不是原本就有的么,比如 add_requires("imgui", {configs = {glfw_opengl3 = true}})

 ls -l ~/.xmake/packages/i/imgui/v1.83-docking/9165f61b54b14d78a670ee5c63131410/include/
total 1624
-rw-r--r--  1 ruki  staff    9558  8  4 17:17 imconfig.h
-rw-r--r--  1 ruki  staff  309264  8  4 17:17 imgui.h
-rw-r--r--  1 ruki  staff    3041  8  4 17:17 imgui_impl_glfw.h       <----
-rw-r--r--  1 ruki  staff    4577  8  4 17:17 imgui_impl_opengl3.h
-rw-r--r--  1 ruki  staff  220379  8  4 17:17 imgui_internal.h
-rw-r--r--  1 ruki  staff   20503  8  4 17:17 imstb_rectpack.h
-rw-r--r--  1 ruki  staff   55006  8  4 17:17 imstb_textedit.h
-rw-r--r--  1 ruki  staff  192357  8  4 17:17 imstb_truetype.h

其他的 ba…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Latias94
Comment options

Answer selected by Latias94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants