Vcpkg: Document format of CONTROL file

Created on 2 Oct 2016  路  4Comments  路  Source: microsoft/vcpkg

While the CONTROL file format is quite intuitive, it would be nice to have some documentation on its fields, for example on the difference between Depends and Build-Depends.

documentation

All 4 comments

To make a bit of progress here:

The CONTROL file format is a subset of the Debian control format [1]. Only a few of the fields are currently recognized, since we're focusing on the native libraries space. For example, we have no use for Priority, Essential, or Section. Some other fields might want to strongly consider in the future: Homepage, Maintainer, ...

Concretely for Depends versus Build-Depends: they're the same currently except that Depends is used in the (current) binary package format. In the future, I intend to record the exact versions built against in the Depends field to perform better error checking against installing conflicting versions.

[1] https://www.debian.org/doc/debian-policy/ch-controlfields.html

@KindDragon it means that dependency is needed only for windows (ie. non-uwp) builds.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

PhilLab picture PhilLab  路  3Comments

cskrisz picture cskrisz  路  3Comments

spindensity picture spindensity  路  3Comments

tzbo picture tzbo  路  3Comments