经过一段时间的折腾,我也入坑CMAKE了
Linking CXX shared library libtag.dll
Creating library file: libtag.dll.a
[ 98%] Built target tag
Scanning dependencies of target tag_c
[100%] Building CXX object bindings/c/CMakeFiles/tag_c.dir/tag_c.obj
Linking CXX shared library libtag_c.dll
Creating library file: libtag_c.dll.a
[100%] Built target tag_c
为什么我编译出的库是共享的,静态库需要如何配置?
谢谢!
|