加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom-graphics_libprism_sw.xml 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
Noah 提交于 2020-06-01 17:37 . initial packaging
<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>libprism_sw</name>
<packaging>so</packaging>
<artifactId>libprism_sw</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 -DINLINE=inline</commonCompilerOptions>
<native.source.dir>../src/main/native-prism-sw</native.source.dir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>1.0-alpha-6</version>
<extensions>true</extensions>
<configuration>
<compilerStartOptions>
<compilerStartOption>${commonCompilerOptions}</compilerStartOption>
</compilerStartOptions>
<sources>
<source>
<directory>${native.source.dir}</directory>
<includes>
<include>**/*.c</include>
</includes>
</source>
<source>
<directory>${JAVA_HOME}/include</directory>
</source>
<source>
<directory>${JAVA_HOME}/include/linux</directory>
</source>
<source>
<directory>../build/gensrc/headers</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>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化