mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:49:00 +08:00
[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>
This commit is contained in:
parent
4f778cf094
commit
e5b3177ece
@ -1,117 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
new file mode 100644
|
||||
index 00000000..601d2a4d
|
||||
--- /dev/null
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -0,0 +1,111 @@
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
+
|
||||
+project(Tracy LANGUAGES CXX)
|
||||
+
|
||||
+find_package(Threads REQUIRED)
|
||||
+
|
||||
+add_library(TracyClient TracyClient.cpp)
|
||||
+target_compile_features(TracyClient PUBLIC cxx_std_11)
|
||||
+target_include_directories(TracyClient SYSTEM PUBLIC
|
||||
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
+ $<INSTALL_INTERFACE:include>)
|
||||
+target_link_libraries(
|
||||
+ TracyClient
|
||||
+ PUBLIC
|
||||
+ Threads::Threads
|
||||
+ ${CMAKE_DL_LIBS}
|
||||
+)
|
||||
+
|
||||
+if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
+ find_library(EXECINFO_LIBRARY NAMES execinfo REQUIRED)
|
||||
+ target_link_libraries(TracyClient PUBLIC ${EXECINFO_LIBRARY})
|
||||
+endif()
|
||||
+
|
||||
+add_library(Tracy::TracyClient ALIAS TracyClient)
|
||||
+
|
||||
+macro(set_option option help value)
|
||||
+ option(${option} ${help} ${value})
|
||||
+ if(${option})
|
||||
+ message(STATUS "${option}: ON")
|
||||
+ target_compile_definitions(TracyClient PUBLIC ${option})
|
||||
+ else()
|
||||
+ message(STATUS "${option}: OFF")
|
||||
+ endif()
|
||||
+endmacro()
|
||||
+
|
||||
+set_option(TRACY_ENABLE "Enable profiling" ON)
|
||||
+set_option(TRACY_ON_DEMAND "On-demand profiling" OFF)
|
||||
+set_option(TRACY_CALLSTACK "Collect call stacks" OFF)
|
||||
+set_option(TRACY_ONLY_LOCALHOST "Only listen on the localhost interface" OFF)
|
||||
+set_option(TRACY_NO_BROADCAST "Disable client discovery by broadcast to local network" OFF)
|
||||
+set_option(TRACY_NO_CODE_TRANSFER "Disable collection of source code" OFF)
|
||||
+set_option(TRACY_NO_CONTEXT_SWITCH "Disable capture of context switches" OFF)
|
||||
+set_option(TRACY_NO_EXIT "Client executable does not exit until all profile data is sent to server" OFF)
|
||||
+set_option(TRACY_NO_FRAME_IMAGE "Disable capture of frame images" OFF)
|
||||
+set_option(TRACY_NO_SAMPLING "Disable call stack sampling" OFF)
|
||||
+set_option(TRACY_NO_VERIFY "Disable zone validation for C API" OFF)
|
||||
+set_option(TRACY_NO_VSYNC_CAPTURE "Disable capture of hardware Vsync events" OFF)
|
||||
+
|
||||
+if(BUILD_SHARED_LIBS)
|
||||
+ target_compile_definitions(TracyClient PRIVATE TRACY_EXPORTS)
|
||||
+ target_compile_definitions(TracyClient PUBLIC TRACY_IMPORTS)
|
||||
+endif()
|
||||
+
|
||||
+include(CMakePackageConfigHelpers)
|
||||
+include(GNUInstallDirs)
|
||||
+
|
||||
+set(includes
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyC.h
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/Tracy.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyD3D11.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyD3D12.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyLua.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyOpenCL.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyOpenGL.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/TracyVulkan.hpp)
|
||||
+
|
||||
+set(client_includes
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/tracy_concurrentqueue.h
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/tracy_rpmalloc.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyArmCpuTable.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyCallstack.h
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyCallstack.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyDxt1.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyFastVector.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyLock.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyProfiler.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyRingBuffer.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyScoped.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracySysTime.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracySysTrace.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/client/TracyThread.hpp)
|
||||
+
|
||||
+set(common_includes
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/tracy_lz4.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/tracy_lz4hc.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyAlign.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyAlloc.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyApi.h
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyColor.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyForceInline.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyMutex.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyProtocol.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracyQueue.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracySocket.hpp
|
||||
+ ${CMAKE_CURRENT_LIST_DIR}/common/TracySystem.hpp)
|
||||
+
|
||||
+install(TARGETS TracyClient
|
||||
+ EXPORT TracyConfig
|
||||
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+install(FILES ${includes}
|
||||
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
+install(FILES ${client_includes}
|
||||
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/client)
|
||||
+install(FILES ${common_includes}
|
||||
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/common)
|
||||
+install(EXPORT TracyConfig
|
||||
+ NAMESPACE Tracy::
|
||||
+ FILE TracyConfig.cmake
|
||||
+ DESTINATION share/Tracy)
|
@ -1,11 +1,9 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO wolfpld/tracy
|
||||
REF 07778badcced109b8190805fbf2d7abfaef0d3b9
|
||||
SHA512 17f52d2b9558a2a6ebada5a405f74a8c6eb51c8dfb794a182cf7635cbe48206e1edce3bf6f5e9358ec8b24e9c0cba4019c8eb14bb37524ea762a80aece04652f
|
||||
REF 9ba7171c3dd6f728268a820ee268a62c75f2dfb6
|
||||
SHA512 a2898cd04a532a5cc71fd6c5fd3893ebff68df25fc38e8d988ba4a8a6cbe33e3d0049661029d002160b94b57421e5c5b7400658b404e51bfab721d204dd0cc5d
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
add-install.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "tracy",
|
||||
"version": "0.7.8",
|
||||
"port-version": 2,
|
||||
"version": "0.8.0",
|
||||
"description": "A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.",
|
||||
"homepage": "https://github.com/wolfpld/tracy",
|
||||
"supports": "!(windows & (arm | uwp))",
|
||||
|
@ -7049,8 +7049,8 @@
|
||||
"port-version": 3
|
||||
},
|
||||
"tracy": {
|
||||
"baseline": "0.7.8",
|
||||
"port-version": 2
|
||||
"baseline": "0.8.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"transwarp": {
|
||||
"baseline": "2.2.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b34c2e1fb20aa7f46e350fbf5b90e8dda71aaf3a",
|
||||
"version": "0.8.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "4495b1e35b5ce98b10a2a6f28eebdda0088903e2",
|
||||
"version": "0.7.8",
|
||||
|
Loading…
Reference in New Issue
Block a user