Hello-

I have the following build file and I'm not sure what I'm missing:

<project name="MyProj" default="build" basedir=".">
  <taskdef resource="cpptasks.tasks" classpath="./Tools/Ant/cpptasks.jar" />
  <typedef resource="cpptasks.types" classpath="./Tools/Ant/cpptasks.jar" />

  <compiler id="my-compiler" name="msvc">
    <defineset define="_DEBUG" />
  </compiler>

  <target name="build">
    <cc subsystem="console" outtype="executable" outfile="hello">
      <compiler refid="my-compiler" />
      <fileset dir="." includes="*.c" />
    </cc>
  </target>
</project>

When I try to run this, I get an error saying:
build.xml:12: my-compiler doesn't denote a ProcessorDef

This is my first attempt to factor out the compiler types, so thanks for
your patience :)

--jah



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to