early-access version 2853
This commit is contained in:
38
externals/vcpkg/ports/entt/portfile.cmake
vendored
Executable file
38
externals/vcpkg/ports/entt/portfile.cmake
vendored
Executable file
@@ -0,0 +1,38 @@
|
||||
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 v3.10.1
|
||||
SHA512 ce611f8892626d8df2d6be6a0e7c0218683899bae5665b4466f149c6a5b6a4d184b390370262faa3ea822a399ac71a92f4780e9a22438d4a7a14ca5f554e94c4
|
||||
HEAD_REF master
|
||||
)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DENTT_BUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
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")
|
||||
|
||||
# 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)
|
||||
23
externals/vcpkg/ports/entt/vcpkg.json
vendored
Executable file
23
externals/vcpkg/ports/entt/vcpkg.json
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"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",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"experimental": {
|
||||
"description": "Use experimental features right away"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user