Figure out stupid math shit

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2026-01-10 16:15:36 +02:00
parent f896ddae74
commit e0ca1f1043
475 changed files with 499637 additions and 14 deletions

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})