mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +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.
80 lines
1.9 KiB
JSON
80 lines
1.9 KiB
JSON
{
|
|
"name": "embree3",
|
|
"version": "3.13.5",
|
|
"port-version": 4,
|
|
"description": "High Performance Ray Tracing Kernels.",
|
|
"homepage": "https://github.com/embree/embree",
|
|
"license": "Apache-2.0",
|
|
"supports": "!arm | osx",
|
|
"dependencies": [
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"default-features": [
|
|
"filter-function",
|
|
"geometry-curve",
|
|
"geometry-grid",
|
|
"geometry-instance",
|
|
"geometry-point",
|
|
"geometry-quad",
|
|
"geometry-subdivision",
|
|
"geometry-triangle",
|
|
"geometry-user",
|
|
"ray-packets",
|
|
"tasking-tbb"
|
|
],
|
|
"features": {
|
|
"backface-culling": {
|
|
"description": "Enables backface culling."
|
|
},
|
|
"compact-polys": {
|
|
"description": "Enables double indexed poly layout."
|
|
},
|
|
"filter-function": {
|
|
"description": "Enables filter functions."
|
|
},
|
|
"geometry-curve": {
|
|
"description": "Enables support for curve geometries."
|
|
},
|
|
"geometry-grid": {
|
|
"description": "Enables support for grid geometries."
|
|
},
|
|
"geometry-instance": {
|
|
"description": "Enables support for instances."
|
|
},
|
|
"geometry-point": {
|
|
"description": "Enables support for point geometries."
|
|
},
|
|
"geometry-quad": {
|
|
"description": "Enables support for quad geometries."
|
|
},
|
|
"geometry-subdivision": {
|
|
"description": "Enables support for subdiv geometries."
|
|
},
|
|
"geometry-triangle": {
|
|
"description": "Enables support for triangle geometries."
|
|
},
|
|
"geometry-user": {
|
|
"description": "Enables support for user geometries."
|
|
},
|
|
"ray-mask": {
|
|
"description": "Enables ray mask support."
|
|
},
|
|
"ray-packets": {
|
|
"description": "Enabled support for ray packets."
|
|
},
|
|
"tasking-tbb": {
|
|
"description": "Use oneTBB as task system.",
|
|
"dependencies": [
|
|
"tbb"
|
|
]
|
|
}
|
|
}
|
|
}
|