vcpkg/ports/cpptrace/portfile.cmake

24 lines
763 B
CMake
Raw Normal View History

[cpptrace] New port (#34217) * Add cpptrace port * Add version entries * Update portfile * Update * Update * Update version number * Update version number * x * version * Update sha * Update sha * Cpptrace update * Cpptrace update * Try to resume work on adding cpptace. Incorporates feedback. * baselines * Update config path * Add a patch for 32-bit windows * Another patch * Fix patch * Fix patch again * Try to fix windows warnings * Try to fix static build * See if CI will run if I push again * Try to fix issue * Update patches * update port version * add prefixes back * Bump hash * Patch * Bump hash * Patch * Bump hash * Patch * Bump hash * Patch * Bump hash * Specify no UWP * Bump hash * Update description * Bump hash * Update ports/cpptrace/portfile.cmake Co-authored-by: Billy O'Neal <bion@microsoft.com> * Update patches * Bump hash * Bump to cpptrace 0.2.1 * Bump hash * Add patch * Bump hash * Try to handle zlib better * Bump hash * Fix vcpkg.json * Bump hash * fix * Bump hash * Bump baseline * patch * Bump hash * Update patch and usage * Bump hash * fixes * Bump hash * update * Bump hash * Update ports/cpptrace/v0.2.1-patches.patch Co-authored-by: Kai Pastor <dg0yt@darc.de> * Try to use libdwarf via vcpkg * Bump * Fix * Bump * Update libdwarf target name * Bump * Try fix * Bump * Try fix * Bump * Add patches for libdwarf headers * bump * Split up patches * Bump * Trim patch * Bump --------- Co-authored-by: Billy O'Neal <bion@microsoft.com> Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-11-02 04:38:06 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF "v${VERSION}"
2024-08-27 16:03:50 +08:00
SHA512 e205ab54e51dc5fe0cc448e181181d3a2ef3e0d2435d5040cca7f36fc9f9998a0cea2a11051898ebfcc84954a1dd2aff9f48ac9ab718e5d8f974aff419f9ff23
[cpptrace] New port (#34217) * Add cpptrace port * Add version entries * Update portfile * Update * Update * Update version number * Update version number * x * version * Update sha * Update sha * Cpptrace update * Cpptrace update * Try to resume work on adding cpptace. Incorporates feedback. * baselines * Update config path * Add a patch for 32-bit windows * Another patch * Fix patch * Fix patch again * Try to fix windows warnings * Try to fix static build * See if CI will run if I push again * Try to fix issue * Update patches * update port version * add prefixes back * Bump hash * Patch * Bump hash * Patch * Bump hash * Patch * Bump hash * Patch * Bump hash * Specify no UWP * Bump hash * Update description * Bump hash * Update ports/cpptrace/portfile.cmake Co-authored-by: Billy O'Neal <bion@microsoft.com> * Update patches * Bump hash * Bump to cpptrace 0.2.1 * Bump hash * Add patch * Bump hash * Try to handle zlib better * Bump hash * Fix vcpkg.json * Bump hash * fix * Bump hash * Bump baseline * patch * Bump hash * Update patch and usage * Bump hash * fixes * Bump hash * update * Bump hash * Update ports/cpptrace/v0.2.1-patches.patch Co-authored-by: Kai Pastor <dg0yt@darc.de> * Try to use libdwarf via vcpkg * Bump * Fix * Bump * Update libdwarf target name * Bump * Try fix * Bump * Try fix * Bump * Add patches for libdwarf headers * bump * Split up patches * Bump * Trim patch * Bump --------- Co-authored-by: Billy O'Neal <bion@microsoft.com> Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-11-02 04:38:06 +08:00
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS -DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON -DCPPTRACE_USE_EXTERNAL_ZSTD=ON -DCPPTRACE_VCPKG=ON
[cpptrace] New port (#34217) * Add cpptrace port * Add version entries * Update portfile * Update * Update * Update version number * Update version number * x * version * Update sha * Update sha * Cpptrace update * Cpptrace update * Try to resume work on adding cpptace. Incorporates feedback. * baselines * Update config path * Add a patch for 32-bit windows * Another patch * Fix patch * Fix patch again * Try to fix windows warnings * Try to fix static build * See if CI will run if I push again * Try to fix issue * Update patches * update port version * add prefixes back * Bump hash * Patch * Bump hash * Patch * Bump hash * Patch * Bump hash * Patch * Bump hash * Specify no UWP * Bump hash * Update description * Bump hash * Update ports/cpptrace/portfile.cmake Co-authored-by: Billy O'Neal <bion@microsoft.com> * Update patches * Bump hash * Bump to cpptrace 0.2.1 * Bump hash * Add patch * Bump hash * Try to handle zlib better * Bump hash * Fix vcpkg.json * Bump hash * fix * Bump hash * Bump baseline * patch * Bump hash * Update patch and usage * Bump hash * fixes * Bump hash * update * Bump hash * Update ports/cpptrace/v0.2.1-patches.patch Co-authored-by: Kai Pastor <dg0yt@darc.de> * Try to use libdwarf via vcpkg * Bump * Fix * Bump * Update libdwarf target name * Bump * Try fix * Bump * Try fix * Bump * Add patches for libdwarf headers * bump * Split up patches * Bump * Trim patch * Bump --------- Co-authored-by: Billy O'Neal <bion@microsoft.com> Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-11-02 04:38:06 +08:00
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME "cpptrace"
CONFIG_PATH "lib/cmake/cpptrace"
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")