<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hello,<br></div><div><br></div><div>I need configure_file to produce a bash file containing this line:<br></div><div>VAR="${VAR//<strong><span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;">'</span></strong>#<strong><span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;">'</span></strong>/}"</div><div><br></div><div>I tried without success VAR="${VAR//<span style="color: rgb(255, 0, 0);"><strong>'</strong></span>#<span style="color: rgb(255, 0, 0);"><strong>'</strong></span>/}" and VAR="${VAR//<span style="background-color: transparent; color: rgb(255, 0, 0);"><strong>\'</strong></span>#<span style="color: rgb(255, 0, 0);"><strong>\'</strong></span>/}" with and without <code class="docutils literal"><span class="pre">ESCAPE_QUOTES</span></code> in configure_file : always get an error like "Syntax error in cmake code when parsing string".<br></div><div>Not a bash guru, and, can't get if the problem comes from bash or cmake... Can somebody help on this ?<br></div><div><br></div><div>Franck<br></div></div></body></html>