Skip to content

Commit 988ce6e

Browse files
authored
Update README_BUILD.md
1 parent 39f5d6e commit 988ce6e

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

README_BUILD.md

+30-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,40 @@ Prerequisites
1717
Build
1818
-----
1919

20-
1. Edit the `VERSION` file and set the SQLite version to use corresponding to one of the github tags of https://github.com/Willena/libsqlite3-wx-see.git ( current is 3.x.x )
21-
2. Edit the version number in `pom.xml` to match `VERSION`.
22-
3. Then, run:
20+
1. Edit the `VERSION` file and set the SQLite version to use as available on https://github.com/utelle/SQLite3MultipleCiphers/releases (use base SQLite3 version not the SQLiteMC version). Update the artifact version you want to produce accordingly.
21+
2. Then, run:
2322

2423
```
2524
$ make
2625
```
26+
27+
How to build only the native library for your system (without cross-compilation)
28+
====================================================
29+
30+
1. SQLite version to use should be set in the `VERSION` file
31+
2. Run `make native`
32+
3. It will produce shared library files in the `target` folder
33+
34+
How to build all native libraries (cross-compilation)
35+
=====================================================
36+
37+
1. Set the SQLite version in the `VERSION` file
38+
2. Run `make native-all` (this step will use docker to cross-compile)
39+
3. It will produce shared library files in the `target` folder
40+
41+
How to build a native library for a single target (armv5 for example)
42+
=====================================================================
43+
44+
1. Set the SQLite version in the `VERSION` file
45+
2. Run `make linux-armv5` (this step will use docker to cross-compile)
46+
3. It will produce th armv5 shared library file in the `target` folder
47+
48+
How to build final jars
49+
=======================
50+
51+
1. Set the SQLite version in the `VERSION` file
52+
2. Run `make native-all package test`
53+
3. Get the final jar in the `target` directory.
2754

2855
How to build pure-java library
2956
==============================

0 commit comments

Comments
 (0)