generated from imagej/example-legacy-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (45 loc) · 1.4 KB
/
Makefile
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
SHELL:=/bin/bash
build_x86:
mvn install:install-file \
-Dfile="src/main/resources/opencv/x86_jar/opencv-455.jar" \
-DgroupId="org" \
-DartifactId="opencv" \
-Dversion="4.5.5" \
-Dpackaging=jar \
-DgeneratePom=true
build_mac:
mvn install:install-file \
-Dfile="src/main/resources/opencv/arm_jar/opencv-455.jar" \
-DgroupId="org" \
-DartifactId="opencv" \
-Dversion="4.5.5" \
-Dpackaging=jar \
-DgeneratePom=true
build_linux:
mvn install:install-file \
-Dfile="src/main/resources/opencv/linux_jar/opencv-455.jar" \
-DgroupId="org" \
-DartifactId="opencv" \
-Dversion="4.5.5" \
-Dpackaging=jar \
-DgeneratePom=true
build_windows:
mvn install:install-file \
-Dfile="src/main/resources/opencv/win_jar/opencv-455.jar" \
-DgroupId="org" \
-DartifactId="opencv" \
-Dversion="4.5.5" \
-Dpackaging=jar \
-DgeneratePom=true
create_release:
mvn package -P uberjar
create_jar: create_release
echo "Jar created successfully!!"
create_jar_linux: create_release
echo "JAR for linux created"
create_jar_windows: build_windows create_release
echo "JAR for windows created"
create_jar_mac_intel: build_x86 create_release
echo "JAR for mac intel created"
create_jar_mac_silicon: build_mac create_release
echo "JAR for mac silicon created"