1 function(string_remove var)
3 string(REPLACE "${arg} " "" ${var} "${${var}}")
4 string(REPLACE "${arg}" "" ${var} "${${var}}")
6 set(${var} "${${var}}" PARENT_SCOPE)
9 function(string_prefix var)
11 string(FIND "${${var}}" "${arg}" index)
13 string(STRIP "${arg} ${${var}}" ${var})
16 set(${var} "${${var}}" PARENT_SCOPE)
19 function(string_append var)
21 string(FIND "${${var}}" "${arg}" index)
23 string(STRIP "${${var}} ${arg}" ${var})
26 set(${var} "${${var}}" PARENT_SCOPE)