2023-06-23 04:39:54 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO "microsoft/LinuxTracepoints"
|
2023-10-17 03:05:06 +08:00
|
|
|
REF "v${VERSION}"
|
2024-04-16 21:59:50 +08:00
|
|
|
SHA512 b296ad3ee102d45cd8bccb2e3ed478f3d7adff8b3650251926189fd6efbca38728db61208af1627c08c16641b349e31e9366c6bc1965795063f39a167181f067
|
2023-06-23 04:39:54 +08:00
|
|
|
HEAD_REF main)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}/libtracepoint-control-cpp")
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
|
|
PACKAGE_NAME tracepoint-control
|
|
|
|
CONFIG_PATH lib/cmake/tracepoint-control)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|