summaryrefslogtreecommitdiffstats
path: root/fxpackager-native.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fxpackager-native.xml')
-rw-r--r--fxpackager-native.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/fxpackager-native.xml b/fxpackager-native.xml
new file mode 100644
index 0000000..0798e41
--- /dev/null
+++ b/fxpackager-native.xml
@@ -0,0 +1,48 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>fxpackager</name>
+ <packaging>uexe</packaging>
+ <artifactId>JavaAppLauncher</artifactId>
+ <groupId>org.openjfx</groupId>
+ <version>@RELEASE_VERSION@</version>
+ <properties>
+ <commonCompilerOptions>-fstack-protector -DJAVAARCH="amd64"</commonCompilerOptions>
+ <native.source.dir>../src/main/native/launcher/linux</native.source.dir>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>native-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <compilerStartOptions>
+ <compilerStartOption>${commonCompilerOptions}</compilerStartOption>
+ </compilerStartOptions>
+ <sources>
+ <source>
+ <directory>${native.source.dir}</directory>
+ <includes>
+ <include>**/*.cpp</include>
+ </includes>
+ </source>
+ <source>
+ <directory>${JAVA_HOME}/include</directory>
+ </source>
+ <source>
+ <directory>${JAVA_HOME}/include/linux</directory>
+ </source>
+ </sources>
+ <linkerStartOptions>
+ <linkerStartOption>-lstdc++</linkerStartOption>
+ <linkerStartOption>-z</linkerStartOption>
+ <linkerStartOption>relro</linkerStartOption>
+ <linkerStartOption>-ldl</linkerStartOption>
+ </linkerStartOptions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>