Download third_party/tracy/python/HeaderFixer.txt from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/tracy/python/HeaderFixer.txt
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/tracy/python/HeaderFixer.txt
-
curl -L -o HeaderFixer.txt https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/tracy/python/HeaderFixer.txt
510 Bytes
| 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}) | |