3 if(NOT altLighterColor)
4 set(altLighterColor ${lighterColor})
5 endif(NOT altLighterColor)
7 set(altMediumColor ${mediumColor})
8 endif(NOT altMediumColor)
10 set(altDarkerColor ${darkerColor})
11 endif(NOT altDarkerColor)
13 file(READ "${input}" contents)
14 string(REPLACE "#ff80ff;" "${lighterColor};" contents "${contents}")
15 string(REPLACE "#804080;" "${mediumColor};" contents "${contents}")
16 string(REPLACE "#201020;" "${darkerColor};" contents "${contents}")
17 string(REPLACE "#c080ff;" "${altLighterColor};" contents "${contents}")
18 string(REPLACE "#604080;" "${altMediumColor};" contents "${contents}")
19 string(REPLACE "#181020;" "${altDarkerColor};" contents "${contents}")
20 file(WRITE "${output}" "${contents}")