-
Notifications
You must be signed in to change notification settings - Fork 743
/
pom.xml
113 lines (107 loc) · 3.84 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp-presets</artifactId>
<version>1.5.12-SNAPSHOT</version>
</parent>
<groupId>org.bytedeco</groupId>
<artifactId>llvm</artifactId>
<version>19.1.3-${project.parent.version}</version>
<name>JavaCPP Presets for LLVM</name>
<dependencies>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<configuration>
<includePaths>
<includePath>${basedir}/cppbuild/${javacpp.platform}${javacpp.platform.extension}/include/</includePath>
<includePath>${basedir}/cppbuild/${javacpp.platform}${javacpp.platform.extension}/include/polly/</includePath>
<includePath>${basedir}/target/classes/org/bytedeco/${javacpp.packageName}/include/</includePath>
</includePaths>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<configuration>
<includes>
<include>org/bytedeco/llvm/**</include>
</includes>
</configuration>
</execution>
<execution>
<id>javacpp-${javacpp.platform}</id>
<phase>package</phase>
<configuration>
<excludes>
<exclude>${javacpp.platform.library.path}/lib/*.so*</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/*.exp</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/*.lib</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/*.obj</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/bin/*</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/lib/*.a</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/lib/*.dylib</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/lib/*.so*</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/lib/clang.lib</exclude>
<exclude>org/bytedeco/llvm/${javacpp.platform}/lib/LLVM.lib</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>msvc</id>
<activation>
<os><family>windows</family></os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<configuration>
<compilerOptions>
<compilerOption>/link</compilerOption>
<compilerOption>/FORCE:MULTIPLE</compilerOption>
</compilerOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>