<?xml?>

<GwenBuilder name="CXXBuilder" maxinputfiles="1">

  <inputFiles>
    <acceptedInputTypes>cxx</acceptedInputTypes>
    <acceptedInputFiles>*.cpp</acceptedInputFiles>
  </inputFiles>
  
  <outputFiles>
    <file type="object" >$(firstInputFileNoExt).o</file>
    <file type="depfile">$(firstInputFileNoExt).d</file>
  </outputFiles>
  
  
  <buildCommands checkDates="TRUE" >
    <!-- depend file -->
    <cmd tool="$(GWBUILD_TOOL_CXX)" >
      <args>
        <fixed>-c -fPIC -DPIC</fixed>
        <blank/>
        <fixed>$(cxxflags) $(local/cxxflags)</fixed>
        <blank/>
        <haveConfigH/>
        <defines />
        <blank/>
        <includes type="cxx" />
        <blank/>
        <fixed>-MM</fixed>
        <blank/>
        <inputFiles match="*.cpp" mode="abspath" />
        <blank/>
        <fixed>-o</fixed>
        <blank/>
        <outputFiles index=1 />
      </args>
      <mainInputFile index="0" />
      <mainOutputFile index="1" />
      <buildMessage>Creating depfile for '$(firstInputFile)'</buildMessage>
    </cmd>

    <!-- object file -->
    <cmd tool="$(GWBUILD_TOOL_CXX)" checkDepends="TRUE" >
      <args>
        <fixed>-c -fPIC -DPIC</fixed>
        <blank/>
        <fixed>$(cflags) $(local/cflags)</fixed>
        <blank/>
        <haveConfigH/>
        <defines />
        <blank/>
        <includes type="cxx" />
        <blank/>
        <inputFiles match="*.cpp" mode="abspath" />
        <blank/>
        <fixed>-o</fixed>
        <blank/>
        <outputFiles index="0" />
      </args>
      <mainInputFile index="0" />
      <mainOutputFile index="0" />
      <depFile index="1" />
      <buildMessage>CXX-Compiling '$(firstInputFile)'</buildMessage>
    </cmd>
    
  </buildCommands>
  


</GwenBuilder>
