[entt] Install natvis files (#24675)

* [entt] Install natvis files

* x-add-version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
This commit is contained in:
LilyWangLL 2022-05-14 07:52:53 +08:00 committed by GitHub
parent 38910e67f3
commit 4491ca9143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 5 deletions

View File

@ -15,7 +15,7 @@ else()
endif()
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DENTT_BUILD_TESTING=OFF
@ -23,13 +23,16 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
if(EXISTS ${CURRENT_PACKAGES_DIR}/cmake)
if(EXISTS "${CURRENT_PACKAGES_DIR}/cmake")
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
else()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/EnTT/cmake)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
# Install natvis files
file(INSTALL "${SOURCE_PATH}/natvis/entt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/natvis")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "entt",
"version": "3.10.1",
"port-version": 1,
"description": "Gaming meets modern C++ - a fast and reliable entity-component system and much more",
"homepage": "https://github.com/skypjack/entt",
"license": "MIT",

View File

@ -2086,7 +2086,7 @@
},
"entt": {
"baseline": "3.10.1",
"port-version": 0
"port-version": 1
},
"epsilon": {
"baseline": "0.9.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ac258cd82d39f21b9a55ec179f02517f29802cdb",
"version": "3.10.1",
"port-version": 1
},
{
"git-tree": "f2c6e6ca727e3e843f0eb07544c81305175dc973",
"version": "3.10.1",