Skip to content
Discussion options

You must be logged in to vote
add_links("Catch2Main", "Catch2")

删了,直接 add_packages 就行了

但是Windows下不行,想问一下什么原因?

main 定义在 static lib 里,windows 需要主程序设置 ldflags 显式指定 console subsystem 。。你自己 google 找下 flags 设置下。

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Extra-Creativity
Comment options

@waruqi
Comment options

@waruqi
Comment options

@Extra-Creativity
Comment options

@Extra-Creativity
Comment options

Answer selected by Extra-Creativity
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