mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
8 lines
421 B
CMake
8 lines
421 B
CMake
|
file (READ ${SOURCE_FILENAME} CONTENT)
|
||
|
string (REGEX REPLACE "using re2::RE2;" "" CONTENT "${CONTENT}")
|
||
|
string (REGEX REPLACE "namespace re2" "namespace re2_st" CONTENT "${CONTENT}")
|
||
|
string (REGEX REPLACE "re2::" "re2_st::" CONTENT "${CONTENT}")
|
||
|
string (REGEX REPLACE "\"re2/" "\"re2_st/" CONTENT "${CONTENT}")
|
||
|
string (REGEX REPLACE "(.\\*?_H)" "\\1_ST" CONTENT "${CONTENT}")
|
||
|
file (WRITE ${TARGET_FILENAME} "${CONTENT}")
|