我的VSCode笔记本
CMake vcpkg集成
vcpkg integrate install
ctrl + p 输入 > Open Workspace setting 在.vccode/setting.json添加如下键值对
"cmake.configureArgs": [
"-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE",
"-DCMAKE_TOOLCHAIN_FILE=(vcpkg--path)/vcpkg/scripts/buildsystems/vcpkg.cmake"
]
vcpkg 安装静态库
vcpkg install wxwidgets:x64-windows-static