rename native pick to filament_pick to avoid naming clashes

This commit is contained in:
Nick Fisher
2024-05-11 10:09:11 +08:00
parent 6f0df56751
commit f82a9b6222
273 changed files with 39550 additions and 2 deletions

14
web/replace_in_file.cmake Normal file
View File

@@ -0,0 +1,14 @@
file(READ ${INPUTFILE} INPUT_TEXT)
foreach(TO_REPLACE_STRING ${TO_REPLACE})
#get the index of the current to_replace string
list(FIND TO_REPLACE ${TO_REPLACE_STRING} REPLACE_INDEX)
#look up the corresponding replacement string
list(GET REPLACEMENT ${REPLACE_INDEX} REPLACEMENT_STRING)
string(REPLACE ${TO_REPLACE_STRING} ${REPLACEMENT_STRING} INPUT_TEXT "${INPUT_TEXT}")
endforeach()
file(WRITE ${OUTPUTFILE} "${INPUT_TEXT}")