Note that there are some explanatory texts on larger screens.

plurals
  1. POMore inside an IDE(eclipse cdt)
    text
    copied!<p>This is what I see in the <strong>Console</strong> when I clicked <strong>Project->Clean</strong> menu:</p> <pre><code>g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\hw.o ..\src\hw.cpp g++ -ohw.exe src\hw.o </code></pre> <p>But I've no idea how is these command generated?</p> <p>Can someone elaborate the lifecycle of the command?</p> <p>This is the <code>.project</code> file:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;projectDescription&gt; &lt;name&gt;hw&lt;/name&gt; &lt;comment&gt;&lt;/comment&gt; &lt;projects&gt; &lt;/projects&gt; &lt;buildSpec&gt; &lt;buildCommand&gt; &lt;name&gt;org.eclipse.cdt.managedbuilder.core.genmakebuilder&lt;/name&gt; &lt;triggers&gt;clean,full,incremental,&lt;/triggers&gt; &lt;arguments&gt; &lt;dictionary&gt; &lt;key&gt;?name?&lt;/key&gt; &lt;value&gt;&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.append_environment&lt;/key&gt; &lt;value&gt;true&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.buildArguments&lt;/key&gt; &lt;value&gt;&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.buildCommand&lt;/key&gt; &lt;value&gt;make&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.buildLocation&lt;/key&gt; &lt;value&gt;${workspace_loc:/hw/Debug}&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.contents&lt;/key&gt; &lt;value&gt;org.eclipse.cdt.make.core.activeConfigSettings&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.enableAutoBuild&lt;/key&gt; &lt;value&gt;false&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.enableCleanBuild&lt;/key&gt; &lt;value&gt;true&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.enableFullBuild&lt;/key&gt; &lt;value&gt;true&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.stopOnError&lt;/key&gt; &lt;value&gt;true&lt;/value&gt; &lt;/dictionary&gt; &lt;dictionary&gt; &lt;key&gt;org.eclipse.cdt.make.core.useDefaultBuildCmd&lt;/key&gt; &lt;value&gt;true&lt;/value&gt; &lt;/dictionary&gt; &lt;/arguments&gt; &lt;/buildCommand&gt; &lt;buildCommand&gt; &lt;name&gt;org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder&lt;/name&gt; &lt;arguments&gt; &lt;/arguments&gt; &lt;/buildCommand&gt; &lt;/buildSpec&gt; &lt;natures&gt; &lt;nature&gt;org.eclipse.cdt.core.cnature&lt;/nature&gt; &lt;nature&gt;org.eclipse.cdt.core.ccnature&lt;/nature&gt; &lt;nature&gt;org.eclipse.cdt.managedbuilder.core.managedBuildNature&lt;/nature&gt; &lt;nature&gt;org.eclipse.cdt.managedbuilder.core.ScannerConfigNature&lt;/nature&gt; &lt;/natures&gt; &lt;/projectDescription&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload