2023-05-01 02:31:23 +05:00
|
|
|
---
|
|
|
|
title: Contributing guide
|
|
|
|
revision: 31.01.2023
|
|
|
|
---
|
|
|
|
|
2023-03-19 19:10:32 +01:00
|
|
|
| Updated 31.01.2023 | Languages: EN, [FR](/docs/lang/fr/CONTRIBUTING.md), [CZ](/docs/lang/cs/CONTRIBUTING.md) |
|
2023-02-08 14:03:52 +00:00
|
|
|
|
2022-08-30 12:49:07 +01:00
|
|
|
# Contributing guide
|
|
|
|
|
|
|
|
## Compiling with SQLCipher encryption enabled
|
|
|
|
|
|
|
|
Add `cabal.project.local` to project root with the location of OpenSSL headers and libraries and flag setting encryption mode:
|
|
|
|
|
|
|
|
```
|
2022-11-18 17:54:57 +00:00
|
|
|
cp scripts/cabal.project.local.mac cabal.project.local
|
|
|
|
# or
|
|
|
|
# cp scripts/cabal.project.local.linux cabal.project.local
|
2022-08-30 12:49:07 +01:00
|
|
|
```
|
|
|
|
|
2022-11-18 22:29:02 +03:00
|
|
|
## OpenSSL on MacOS
|
|
|
|
|
|
|
|
MacOS comes with LibreSSL as default, OpenSSL must be installed to compile SimpleX from source.
|
|
|
|
|
2022-11-18 17:54:57 +00:00
|
|
|
OpenSSL can be installed with `brew install openssl@1.1`
|
2022-11-18 22:29:02 +03:00
|
|
|
|
|
|
|
You will have to add `/opt/homebrew/opt/openssl@1.1/bin` to your PATH in order to have things working properly
|