created build file for experimental gdb mote debugger
This commit is contained in:
parent
0d7f5468cb
commit
5d90dcdd11
1 changed files with 23 additions and 0 deletions
23
tools/cooja/examples/project_debug/build.xml
Normal file
23
tools/cooja/examples/project_debug/build.xml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<project name="GDB example" default="compile" basedir=".">
|
||||
<property name="src" location="java"/>
|
||||
<property name="build" location="java"/>
|
||||
|
||||
<property name="cooja" location="../.."/>
|
||||
<property name="cooja_jar" value="${cooja}/dist/cooja.jar"/>
|
||||
|
||||
<target name="init">
|
||||
<tstamp/>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="init">
|
||||
<mkdir dir="${build}"/>
|
||||
<javac srcdir="${src}" destdir="${build}" debug="on">
|
||||
<classpath>
|
||||
<pathelement location="${cooja_jar}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in a new issue