Replies: 2 comments 8 replies
-
add_requires 开下 main 配置 https://github.com/xmake-io/xmake-repo/blob/ebe61bb7b8d7ecc11b3258747c80863f02084f74/packages/g/gtest/xmake.lua#L19 |
Beta Was this translation helpful? Give feedback.
8 replies
-
谢谢,帮助很大。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,你好~
我希望在 ut 中直接链接 gtest_main 而不自定义一个 main 函数,但似乎无法成功(尝试添加
add_links("gtest_main")
也无效):请问我应该如何配置,才能让 target 连接 gtest_main?
Beta Was this translation helpful? Give feedback.
All reactions