summaryrefslogtreecommitdiffstats
path: root/pom-graphics_libdecora.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom-graphics_libdecora.xml')
-rw-r--r--pom-graphics_libdecora.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/pom-graphics_libdecora.xml b/pom-graphics_libdecora.xml
new file mode 100644
index 0000000..84e8da1
--- /dev/null
+++ b/pom-graphics_libdecora.xml
@@ -0,0 +1,73 @@
+<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>libdecora_sse</name>
+ <packaging>so</packaging>
+ <artifactId>libdecora_sse</artifactId>
+ <groupId>org.openjfx</groupId>
+ <version>@RELEASE_VERSION@</version>
+ <properties>
+ <commonCompilerOptions>-fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -ffast-math</commonCompilerOptions>
+ <native.gen.dir>../build/gensrc/jsl-decora</native.gen.dir>
+ <native.source.dir>../src/main/native-decora</native.source.dir>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>native-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <compilerProvider>generic-classic</compilerProvider>
+ <compilerExecutable>gcc</compilerExecutable>
+ <compilerStartOptions>
+ <compilerStartOption>${commonCompilerOptions}</compilerStartOption>
+ </compilerStartOptions>
+ <sources>
+ <source>
+ <directory>${native.source.dir}</directory>
+ <includes>
+ <include>**/*.cc</include>
+ </includes>
+ </source>
+ <source>
+ <directory>${native.gen.dir}</directory>
+ <includes>
+ <include>**/*.cc</include>
+ </includes>
+ </source>
+ <source>
+ <directory>/usr/lib/jvm/java-1.8.0-openjdk/include</directory>
+ </source>
+ <source>
+ <directory>/usr/lib/jvm/java-1.8.0-openjdk/include/linux</directory>
+ </source>
+ <source>
+ <directory>../build/gensrc/headers</directory>
+ </source>
+ <source>
+ <directory>../src/main/native-decora</directory>
+ </source>
+ </sources>
+ <linkerStartOptions>
+ <linkerStartOption>-static-libgcc</linkerStartOption>
+ <linkerStartOption>-static-libstdc++</linkerStartOption>
+ <linkerStartOption>-shared</linkerStartOption>
+ <linkerStartOption>-fno-strict-aliasing</linkerStartOption>
+ <linkerStartOption>-fPIC</linkerStartOption>
+ <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption>
+ <linkerStartOption>-fstack-protector</linkerStartOption>
+ <linkerStartOption>-Wextra</linkerStartOption>
+ <linkerStartOption>-Wall</linkerStartOption>
+ <linkerStartOption>-Wformat-security</linkerStartOption>
+ <linkerStartOption>-Wno-unused</linkerStartOption>
+ <linkerStartOption>-Wno-parentheses</linkerStartOption>
+ <linkerStartOption>-z</linkerStartOption>
+ <linkerStartOption>relro</linkerStartOption>
+ <linkerStartOption>-Wl,--gc-sections</linkerStartOption>
+ </linkerStartOptions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>