[entt] add experimental feature (#18626)

* Update `entt/portfile.cmake` to support the new `experimental` feature.

* Added the `experimental` feature on `entt/vcpkg.json`.

* Small fix on `entt/vcpkg.json`.

* Update vcpkg.json

* New branch

* Fixup

* (Hopefully) fixed entt version

* Require specifying `--head` for the feature

* update version

* update version

* [entt] add experimental feature

* update version

* update vcpkg.json

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
terens 2021-07-25 21:49:48 +02:00 committed by GitHub
parent d30657b533
commit f894a2f39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 9 deletions

View File

@ -1,10 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skypjack/entt
REF 2d5a3f24aa6dc38ed0c4eee9d4d625586d8e921e #v3.8.0
SHA512 36b7be2550be5a919548e5c91db218ed9b062804d4f43073d6fc6b432fa2d358b5d36098490359ca2392370b2bf1b99d20e564504eaac619f5cd7f9612d91e2e
HEAD_REF master
)
if ("experimental" IN_LIST FEATURES)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skypjack/entt
HEAD_REF experimental
)
else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skypjack/entt
REF 2d5a3f24aa6dc38ed0c4eee9d4d625586d8e921e #v3.8.0
SHA512 36b7be2550be5a919548e5c91db218ed9b062804d4f43073d6fc6b432fa2d358b5d36098490359ca2392370b2bf1b99d20e564504eaac619f5cd7f9612d91e2e
HEAD_REF master
)
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}

View File

@ -1,6 +1,12 @@
{
"name": "entt",
"version": "3.8.0",
"port-version": 1,
"description": "Gaming meets modern C++ - a fast and reliable entity-component system and much more",
"homepage": "https://github.com/skypjack/entt"
"homepage": "https://github.com/skypjack/entt",
"features": {
"experimental": {
"description": "Use experimental features right away"
}
}
}

View File

@ -1890,7 +1890,7 @@
},
"entt": {
"baseline": "3.8.0",
"port-version": 0
"port-version": 1
},
"epsilon": {
"baseline": "0.9.2-4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c1b20a18637e66b31dcda3a46341bf10548b78e8",
"version": "3.8.0",
"port-version": 1
},
{
"git-tree": "a35e25160e39304b6ac16c679fa98f2c926c2877",
"version": "3.8.0",