Update README.md
FossilOrigin-Name: e3f8911bbdfd53e2cbb2432c8cb9ba4a92d62e9a4dfe0538bac105426d8d5ef9
This commit is contained in:
parent
82cf17f827
commit
1149af8c50
1 changed files with 21 additions and 21 deletions
42
README.md
42
README.md
|
@ -9,34 +9,34 @@ It is currently in early development stages.
|
||||||
|
|
||||||
## How to build it?
|
## How to build it?
|
||||||
|
|
||||||
You need [ObjFW](https://objfw.nil.im) and
|
Install [ObjFW](https://objfw.nil.im) first, either via your distribution on by
|
||||||
[ObjSQLite3](https://fossil.nil.im/objsqlite3) installed in order to do this.
|
following the instructions on how to compile it yourself. Make sure you compile
|
||||||
|
ObjFW using Clang, as ObjMatrix is written in modern Objective-C and hence
|
||||||
|
cannot be compiled with GCC.
|
||||||
|
|
||||||
ObjMatrix uses modern Objective-C, and hence cannot be compiled with GCC, but
|
Then install [ObjSQLite3](https://fl.nil.im/objsqlite3):
|
||||||
only with Clang. So install Clang first and ObjFW will automatically pick it up.
|
|
||||||
|
|
||||||
You can install them all like this:
|
fossil clone https://fl.nil.im/objsqlite3
|
||||||
|
cd objsqlite3
|
||||||
|
meson setup build
|
||||||
|
meson compile -C build
|
||||||
|
sudo meson install -C build
|
||||||
|
|
||||||
$ for i in objfw objsqlite3 objmatrix; do
|
Now you can build and install ObjMatrix like this:
|
||||||
fossil clone https://fossil.nil.im/$i $i.fossil &&
|
|
||||||
mkdir $i &&
|
|
||||||
cd $i &&
|
|
||||||
fossil open ../$i.fossil &&
|
|
||||||
./autogen.sh &&
|
|
||||||
./configure &&
|
|
||||||
make &&
|
|
||||||
sudo make install &&
|
|
||||||
cd .. || break
|
|
||||||
done
|
|
||||||
|
|
||||||
You might need to install your distribution's `-dev` packages for OpenSSL
|
fossil clone https://fl.nil.im/objmatrix
|
||||||
beforehand. E.g. on Ubuntu:
|
cd objmatrix
|
||||||
|
meson setup build
|
||||||
|
meson compile -C build
|
||||||
|
sudo meson install -C build
|
||||||
|
|
||||||
$ sudo apt install libssl-dev
|
You can run the tests like this:
|
||||||
|
|
||||||
|
meson test -C build
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Just create an account on the
|
Just create an account on the
|
||||||
[ObjMatrix Fossil](https://fossil.nil.im/objmatrix) and post your patch on the
|
[ObjMatrix Fossil](https://fl.nil.im/objmatrix) and post your patch on the
|
||||||
[forum](https://fossil.nil.im/objmatrix/forum). After a few patches, you will
|
[forum](https://fl.nil.im/objmatrix/forum). After a few patches, you will
|
||||||
be granted commit access.
|
be granted commit access.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue