[flecs] Add usage file (#31501)

* add usage

* update version

* remove vcpkg-cmake-wrapper.cmake

* update version

* undo remove vcpkg-cmake-wrapper.cmake

* update version

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
MonicaLiu 2023-05-19 02:24:27 +08:00 committed by GitHub
parent cdb77f1b5c
commit ba5cf5bba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 1 deletions

View File

@ -31,6 +31,7 @@ endif()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

4
ports/flecs/usage Normal file
View File

@ -0,0 +1,4 @@
The package flecs provides CMake targets:
find_package(flecs CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:flecs::flecs>,flecs::flecs,flecs::flecs_static>)

View File

@ -1,6 +1,7 @@
{
"name": "flecs",
"version": "3.2.2",
"port-version": 1,
"description": "A fast entity component system (ECS) for C & C++",
"homepage": "https://github.com/SanderMertens/flecs",
"license": "MIT",

View File

@ -2518,7 +2518,7 @@
},
"flecs": {
"baseline": "3.2.2",
"port-version": 0
"port-version": 1
},
"flint": {
"baseline": "2.8.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2a59e268b884b19cbc93cb11f25d838af9c09f17",
"version": "3.2.2",
"port-version": 1
},
{
"git-tree": "912f444db03f6f652a404608a75df8fed734a701",
"version": "3.2.2",