mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 07:24:36 +00:00
d65d96191a
Supported: - FrameMarks - ScopedZones - Memory allocations - Plots - ThreadNames - Messages - AppConfig Not supported: - GPU
17 lines
510 B
Plaintext
17 lines
510 B
Plaintext
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})
|