Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eventbus] Add new port #41563

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
Next Next commit
Add eventbus library to vcpkg
  • Loading branch information
motazmuhammad committed Oct 14, 2024

Verified

This commit was signed with the committer’s verified signature.
y0nei Yonei
commit 3bf9d1ce93c7a3f01e921b6cae42ecc37eb63d14
23 changes: 23 additions & 0 deletions ports/eventbus/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gelldur/EventBus
REF master
SHA512 68be92be9a1adc37498e24850ae87384a34ed0343f29a5e525c984f5e220dd721b506fdd7f627e369300c07300f5fff06d88991f69c1e9bc0fff0d2a5b8f0eba
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
WINDOWS_USE_MSBUILD
OPTIONS
-DENABLE_TEST=OFF
)

vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/eventbus)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
16 changes: 16 additions & 0 deletions ports/eventbus/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "eventbus",
"version": "3.1.2",
"description": "Simple and very fast event bus.",
JonLiu1993 marked this conversation as resolved.
Show resolved Hide resolved
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}