1# CMake script to replace items
2# in sources generated by glib-mkenums
3
4FILE(READ ${ENUM_INPUT_SRC} enum_in)
5
6STRING(REPLACE
7  "_t_get_type"
8  "_get_type"
9  enum_out_tmp
10  "${enum_in}"
11  )
12
13STRING(REPLACE
14  "_T ("
15  " ("
16  enum_out
17  "${enum_out_tmp}"
18  )
19
20FILE(WRITE ${ENUM_OUTPUT_SRC} "${enum_out}")
21FILE(REMOVE ${ENUM_INPUT_SRC})