mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
[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:
parent
38910e67f3
commit
4491ca9143
@ -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)
|
||||
|
@ -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",
|
||||
|
@ -2086,7 +2086,7 @@
|
||||
},
|
||||
"entt": {
|
||||
"baseline": "3.10.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"epsilon": {
|
||||
"baseline": "0.9.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ac258cd82d39f21b9a55ec179f02517f29802cdb",
|
||||
"version": "3.10.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "f2c6e6ca727e3e843f0eb07544c81305175dc973",
|
||||
"version": "3.10.1",
|
||||
|
Loading…
Reference in New Issue
Block a user