<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"> Hi, <br>How to use cmake command line using the option parameters, can anyone give me some example for using cmake command line with parameter? such as using the parameters as <b>-D <var>:<type>=<value></b>. And if I want to delete the cache before compile the program, which parameter should I take.<br><br>Though I see the follow description of the the command line usage, I still do not know how to write the command.<br><h2>Usage</h2>
<pre class="code"><span class="highlight">ccmake</span> <path-to-source>
<span class="highlight">ccmake</span> <path-to-existing-build><br><br><br></pre>Thanks,<br><br>psd<br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>