PR: MPNATIVE-5
Submitted by: Joachim Bader add src includes/excludes git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba57b4b020
commit
8ca620c806
@ -50,7 +50,7 @@
|
||||
<linker name="${maven.native.linker.name}">
|
||||
<linkerparam name="target" value="${maven.native.linker.target}"/>
|
||||
</linker>
|
||||
<fileset dir="${maven.native.src}" />
|
||||
<fileset dir="${maven.native.src}" includes="${maven.native.src.includes}" excludes="${maven.native.src.excludes}"/>
|
||||
<j:if test="${jniFilesPresent == 'true'}">
|
||||
<includepath location="${java.home}/../include"/>
|
||||
<includepath location="${java.home}/../include/${maven.native.include.os}"/>
|
||||
|
||||
@ -8,3 +8,5 @@ maven.native.linker.name=${maven.native.compiler.name}
|
||||
maven.native.compiler.target=
|
||||
maven.native.linker.target=${maven.native.compiler.target}
|
||||
|
||||
maven.native.src.includes=**/*.h **/*.c **/*.cpp
|
||||
maven.native.src.excludes=
|
||||
|
||||
@ -55,6 +55,10 @@
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Joachim Bader</name>
|
||||
<email>info@joachim-bader.de</email>
|
||||
<organization>proveo.de</organization>
|
||||
<url>http://www.joachim-bader.de</url>
|
||||
<timezone>+1</timezone>
|
||||
</contributor>
|
||||
</contributors>
|
||||
<dependencies>
|
||||
|
||||
@ -49,6 +49,22 @@
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.native.src.includes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies a list of patterns to include into the native compile process.
|
||||
Default value is <code>**/*.h **/*.c **/*.cpp</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.native.src.excludes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Specifies a list of patterns to exclude from the native compile process.
|
||||
Default value is empty.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.native.link</td>
|
||||
<td>Yes</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user