projects
/
platform
/
upstream
/
harfbuzz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'upstream' into tizen
[platform/upstream/harfbuzz.git]
/
replace-enum-strings.cmake
1
# CMake script to replace items
\r
2
# in sources generated by glib-mkenums
\r
3
\r
4
FILE(READ ${ENUM_INPUT_SRC} enum_in)
\r
5
\r
6
STRING(REPLACE
\r
7
"_t_get_type"
\r
8
"_get_type"
\r
9
enum_out_tmp
\r
10
"${enum_in}"
\r
11
)
\r
12
\r
13
STRING(REPLACE
\r
14
"_T ("
\r
15
" ("
\r
16
enum_out
\r
17
"${enum_out_tmp}"
\r
18
)
\r
19
\r
20
FILE(WRITE ${ENUM_OUTPUT_SRC} "${enum_out}")
\r
21
FILE(REMOVE ${ENUM_INPUT_SRC})