Hi all, <div><br></div><div>I'm following up on this subject, since I have the same problem as Luke, which is to include quotes in VS 2008 options.</div><div><br></div><div>For example, in a test project, the following lines:</div>
<div><br></div><div><div><font face="courier new, monospace">set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} /Test1:"Test1")</font></div><div><font face="courier new, monospace">set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} "/Test2:\"Test2\"")</font></div>
<div><font face="courier new, monospace">set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} /Test3:\"Test3\")</font></div><div><font face="courier new, monospace">set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} "/Test4:\\\"Test4\\\"")</font></div>
<div><font face="courier new, monospace">set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} /Test5:\\\"Test5\\\")</font></div><div><font face="courier new, monospace">set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} "/Test6:&quot;Test6&quot;")</font></div>
<div><br></div><div>Will generate a project file which content looks like this:</div></div><div><div><font face="courier new, monospace">AdditionalOptions="&quot;/Test1:Test1&quot;;&quot;/Test2:Test2&quot;;&quot;/Test3:Test3&quot;;&quot;/Test4:\&quot;Test4\&quot;&quot;;&quot;/Test5:\&quot;Test5\&quot;&quot;;&quot;/Test6:&amp;quot&quot;;&quot;Test6&amp;quot&quot;;&quot;&quot;"</font></div>
<div><div><div><br></div><div>Leading to the following result in the command-line options:</div><div><font face="courier new, monospace">"/Test1:Test1";"/Test2:Test2";"/Test3:Test3";"/Test4:\"Test4\"";"/Test5:\"Test5\"";"/Test6:&quot";"Test6&quot";""</font></div>
</div></div><div><br></div></div><div><br></div><div>What I'm looking for is a way to achieve the following:</div><div><br></div><div>In the project file: </div><div><font face="courier new, monospace">AdditionalOptions="/foo:&quot;bar&quot;"</font></div>
<div><br></div><div>Interpreted in the command-line as </div><div><font face="courier new, monospace">/foo:"bar"</font></div><div><br></div><div>We both tried every combination of escaping quotes, but without any success.</div>
<div><br></div><div>Original thread (if reply is broken):</div><div><a href="http://www.cmake.org/pipermail/cmake/2012-April/050081.html">http://www.cmake.org/pipermail/cmake/2012-April/050081.html</a></div><div><br></div>
<div>Best regards,</div><div><br clear="all"><font color="#333333">François Best</font><div><div><font color="#333333">Hardware & Software Engineer</font></div><div><font color="#333333"><br></font></div><div><font color="#333399">Eiosis - </font><a href="http://www.slatedigital.com/" target="_blank">http://www.eiosis.com/</a></div>
</div><br>
</div>