We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
waruqi
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
find vcpkg directory: $ xmake l detect.sdks.find_vcpkgdir
$ xmake l detect.sdks.find_vcpkgdir
We can download https://github.com/tboox/xmake/releases/download/v2.2.1/xmake-v2.2.2-dev.exe and try it.
xmake will attempt to detect the vcpkg root directory automatically if we have executed $ vcpkg integrate install.
$ vcpkg integrate install
And we can also set the vcpkg directory manually.
$ xmake f --vcpkg=f:\vcpkg
Find and add package.
target("test") on_load(function (target) import("lib.detect.find_package") target:add(find_package("zlib")) end)
If you want to known more infomation, you can see find_package and #122
Activity
waruqi commentedon Aug 17, 2018
find vcpkg directory:
$ xmake l detect.sdks.find_vcpkgdir
waruqi commentedon Aug 21, 2018
We can download https://github.com/tboox/xmake/releases/download/v2.2.1/xmake-v2.2.2-dev.exe and try it.
waruqi commentedon Aug 21, 2018
xmake will attempt to detect the vcpkg root directory automatically if we have executed
$ vcpkg integrate install
.And we can also set the vcpkg directory manually.
$ xmake f --vcpkg=f:\vcpkg
waruqi commentedon Aug 21, 2018
Find and add package.
If you want to known more infomation, you can see find_package and #122