mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:49:07 +08:00
47633daa65
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in scripts and portfiles by detection in CI. Sometimes the variables are used wrongly, and sometimes this isn't caught in PR review. This PR tries to catch those variables (when in the active code path in script mode). [This can happen to every contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122), even if he/she knows the rules ... vcpkg is raising the bar higher than usual, having to deal with targets and hosts even in script mode. (`b2-options.cmake` (boost fragment) shows where we get if we don't pay attention: the same code being used in script mode (`WIN32` meaning host) and in project mode (`WIN32` meaning target).) The new check doesn't break any user builds because it relies on command line options. However it changes the ABI hashes.
35 lines
789 B
JSON
35 lines
789 B
JSON
{
|
|
"versions": [
|
|
{
|
|
"git-tree": "e2990b43865e767fb74700ef4cf26b48934b47d8",
|
|
"version": "0.13.3",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "98054aab0c4648b6c88a29711decbd2586f4d462",
|
|
"version": "0.13.3",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "5b81de86b90979544e2a5cd3f958556cd5d9917a",
|
|
"version": "0.13.2",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "7e772e358eee3f6d61854c67c7a4a8afa0a952b8",
|
|
"version": "0.13.2",
|
|
"port-version": 0
|
|
},
|
|
{
|
|
"git-tree": "17dd1242cc7c640c0b51f493eef55d3c12ad6e52",
|
|
"version": "0.12.5.5178",
|
|
"port-version": 1
|
|
},
|
|
{
|
|
"git-tree": "aa161067eef7398933b726e81cd4824733a9c9a6",
|
|
"version": "0.12.5.5178",
|
|
"port-version": 0
|
|
}
|
|
]
|
|
}
|