Files
allwpilib/networktables/cpp/Desktop/pom.xml
2013-12-15 18:30:16 -05:00

111 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<artifactId>libNetworkTablesDesktop</artifactId>
<packaging>a</packaging>
<parent>
<groupId>edu.wpi.first.wpilib.networktables.cpp</groupId>
<artifactId>parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>
<repositories>
<repository>
<id>WPILib Repository</id>
<url>http://frcbuilder.wpi.edu:8348/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>edu.wpi.first.wpilib.networktables.cpp</groupId>
<artifactId>include</artifactId>
<version>0.1.0-SNAPSHOT</version>
<type>inczip</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<compilerExecutable>g++</compilerExecutable>
<linkerExecutable>ar</linkerExecutable>*
<compilerMiddleOptions>
<compilerMiddleOption>-O0 -g3 -Wall</compilerMiddleOption>
</compilerMiddleOptions>
<linkerStartOptions>
<linkerStartOption>-r</linkerStartOption>
</linkerStartOptions>
<sources>
<source>
<directory>../Athena/src/main/native</directory>
<includes>
<include>**/*.cpp</include>
</includes>
</source>
<source>
<directory>../parent/src/main/native</directory>
<includes>
<include>**/*.cpp</include>
</includes>
</source>
</sources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>compile-tests</id>
<phase>test-compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant antfile="src/test/ant/build.xml" target="build-tests">
<property name="cpptasks.jar" value="src/test/ant/ant/cpptasks.jar"/>
<property name="build" value="${project.build.directory}"/>
<property name="src" value="src/test/native"/>
<property name="nt.include" value="target/native/include"/>
<property name="nt.root" value=".."/>
</ant>
</target>
</configuration>
</execution>
<execution>
<id>run-tests</id>
<phase>test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant antfile="src/test/ant/build.xml" target="run-tests">
<property name="cpptasks.jar" value="src/test/ant/ant/cpptasks.jar"/>
<property name="build" value="${project.build.directory}"/>
<property name="src" value="src/test/native"/>
<property name="nt.include" value="target/native/include"/>
<property name="nt.root" value=".."/>
</ant>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>