vscode cmake gcc wx win32 gui application or console
Posted islinyoubiao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vscode cmake gcc wx win32 gui application or console相关的知识,希望对你有一定的参考价值。
在vscode下用cmake构建wxWidgets程序,如果不注意就会有一个黑窗口:
如果要去除console窗口,在cmake中添加以下内容:
在add_executable(hello WIN32 myapp.cpp myframe.cpp)
就以win32编译,gui application了,没有console窗口:
以上是关于vscode cmake gcc wx win32 gui application or console的主要内容,如果未能解决你的问题,请参考以下文章