cmake mingw-w64 单EXE编译

CMakeLists.txt 添加编译参数

set(CMAKE_EXE_LINKER_FLAGS "-static")

posted @ 2023-11-10 14:46  zwghz  阅读(43)  评论(0)    收藏  举报