vcpkg/ports/tracy/portfile.cmake
Arsen Tufankjian e5b3177ece
[Tracy] Updating versionto 0.8.0 (#23859)
* Adding tracy port

* Formatting tracy port

* Tidying up the port

* Formatting again

* Making sure git-tree is correct

* Adding correct vcpkg dependencies

* Newline at file end again

* Update version database

* Making sure to mark tracy as not supporting x86 at all

* Updating version again

* Responding to feedback and double checking which builds will work

* Updating versions

* Tidying up some loose ends

* Updating port version again

* Removing port-version 1

* Removing tracy from ci baseline

* Removing unnecessary include copy

* Updating version

* Resolving feedback

* Updating version and formatting

* Version for the version god

* tweaking tracy supports

* Formatting and version

* Version

* Adding pthreads dependency to tracy for non-windows platforms

* Version

* Fixing tracy port

* Fixing version

* TRACY_IMPORTS should be an INTERFACE define

* Updating patch to tracy to place it in the correct namespace

* Fixing issue in patch file

* Updating version

* Forgot to put the :: in the namespace

* Updating version

* Bumping port version

* Updating version

* Updating version database

* Fixing incorrect version of tracy

* Update version

* Updating tracy to 0.8.0

* Updating version

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-03-30 13:29:42 -07:00

24 lines
667 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO wolfpld/tracy
REF 9ba7171c3dd6f728268a820ee268a62c75f2dfb6
SHA512 a2898cd04a532a5cc71fd6c5fd3893ebff68df25fc38e8d988ba4a8a6cbe33e3d0049661029d002160b94b57421e5c5b7400658b404e51bfab721d204dd0cc5d
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
# Cleanup
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")