Vcpkg: Question: could we skip check_for_files_in_include function when trigger postbuildlint

Created on 8 Jul 2019  路  2Comments  路  Source: microsoft/vcpkg

I am working on using vcpkg to build the ROS packages, the thing is that the ROS packages have some pure cmake packages like ament_cmake_ros, this package won't contain include directory after the build.

I am not sure detail responsibility of the check_for_files_in_include function in postbuildlint, could we skip this check?

question

All 2 comments

You can use the VCPKG_POLICY_EMPTY_INCLUDE_FOLDER policy, see https://github.com/microsoft/vcpkg/blob/master/ports/ecm/portfile.cmake#L30 for a usage example.

Thanks, I found VCPKG_POLICY_EMPTY_PACKAGE also could useful if we want to use vcpkg to deal with pure cmake package.

Was this page helpful?
0 / 5 - 0 ratings