使用CMAKE和vcpkg配置專案

2022-08-24 09:30:14 字數 441 閱讀 1143

1.vckpkg簡介:

vcpkg helps you manage c and c++ libraries on windows, linux and macos. this tool and ecosystem are constantly evolving; your involvement is vital to its success!

vcpkg可幫助您管理windows,linux和macos上的c和c ++庫。這個工具和生態系統在不斷發展; 您的參與對其成功至關重要!

可以使用命令列方式生成vc專案:

使用cmake-gui工具:

set(cmake_toolchain_file "d:\vcpkg-master\vcpkg\scripts\buildsystems\vcpkg.cmake")

使用CMAKE和vcpkg配置專案

1.vckpkg簡介 vcpkg helps you manage c and c libraries on windows,linux and macos.this tool and ecosystem are constantly evolving your involvement is vit...

Vcpkg使用方法

vcpkg可幫助您管理windows,linux和macos上的c和c 庫。這個工具和生態系統在不斷發展 您的參與對其成功至關重要!使用管理員身份開啟powershell後,依次執行以下指令 在visual studio中,您可以建立新專案 或開啟現有專案 所有已安裝的庫都可以立即 include在...

vcpkg安裝及使用

參考鏈結 vcpkg vcpkg search search term 示例 輸入.vcpkg search opencv可以獲得所有支援的包含opencv列表,很驚喜的發現竟然有darknet vcpkg vcpkg install packages to install 示例 由於我已經安裝過了...