1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Added basic Python Support

Supported:
 - FrameMarks
 - ScopedZones
 - Memory allocations
 - Plots
 - ThreadNames
 - Messages
 - AppConfig

Not supported:
 - GPU
This commit is contained in:
Arnim Balzer
2024-03-17 10:51:38 +00:00
parent ac031e64d6
commit d65d96191a
15 changed files with 5091 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
function(fix_header FILE)
file(READ ${FILE} FILE_CONTENT)
string(REPLACE "../client" "client" FILE_CONTENT "${FILE_CONTENT}")
string(REPLACE "../common" "common" FILE_CONTENT "${FILE_CONTENT}")
string(REPLACE "../tracy" "tracy" FILE_CONTENT "${FILE_CONTENT}")
file(WRITE ${FILE} "${FILE_CONTENT}")
endfunction()
function(fix_headers FOLDER)
file(GLOB FILES "${FOLDER}/*.h*")
foreach(FILE ${FILES})
fix_header(${FILE})
endforeach()
endfunction()
fix_headers(${FOLDER})