Skip to content

dluga93/jextract-maven-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jextract-maven-plugin

This is a Maven wrapper for the jextract tool.

Usage

<plugin>
	<groupId>io.github.coffeelibs</groupId>
	<artifactId>jextract-maven-plugin</artifactId>
	<version>0.1.0</version>
	<configuration>
		<executable>/path/to/jextract</executable>
		<headerSearchPaths>/usr/x86_64-linux-gnu/include/</headerSearchPaths>
	</configuration>
	<executions>
		<execution>
			<id>example</id>
			<goals>
				<goal>sources</goal>
			</goals>
			<configuration>
				<headerFile>point.h</headerFile>
				<targetPackage>com.example.mypackage</targetPackage>
				<headerClassName>Point2d</headerClassName>
				<includeStructs>
					<includeStruct>Point2d</includeStruct>
				</includeStructs>
				<includeFunctions>
					<includeFunction>distance</includeFunction>
				</includeFunctions>
			</configuration>
		</execution>
	</executions>
</plugin>

About

A Maven Plugin for jextract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%