Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ and the CMake compatibility workflow also exercises C++20.
- Visual Studio 2017 15.9 (MSVC 19.16 / v141 toolset 14.16) or newer when using MSVC
- exception support (the class Exception inherits from std::runtime_error)
- the SQLite library (3.38.0 minimum, released 2022-02-22), either by linking to it dynamically or statically
(install the libsqlite3-dev package under Debian/Ubuntu/Mint Linux),
(install the libsqlite3-dev package under Debian/Ubuntu/Mint Linux, or sqlite3-devel under openSUSE),
or by adding its source file in your project code base (source code provided in src/sqlite3 for Windows),
with the `SQLITE_ENABLE_COLUMN_METADATA` macro defined (see http://www.sqlite.org/compile.html#enable_column_metadata).

Expand Down Expand Up @@ -130,6 +130,7 @@ Thus this SQLiteCpp repository can be directly used as a Git submodule.
See the [SQLiteCpp_Example](https://github.com/SRombauts/SQLiteCpp_Example) side repository for a standalone "from scratch" example.

Under Debian/Ubuntu/Mint Linux, you can install the libsqlite3-dev package if you don't want to use the embedded sqlite3 library.
Under openSUSE, the equivalent package is sqlite3-devel.

### Building example and unit-tests:

Expand Down Expand Up @@ -235,6 +236,15 @@ sudo apt install python3 python3-pip
pip install meson
```

openSUSE:

```sh
# install gcc(compiler toolchain) and ninja (recommended build system)
sudo zypper install -y gcc gcc-c++ ninja
# install meson
sudo zypper install -y meson
```

for example you can build the library using the default options with:

```sh
Expand Down