Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(sl3_MINOR_VERSION 3)
# sqlite major is always 3, no need to use that here
# set(internal_SQLITE_MAJOR_V 3)
set(internal_SQLITE_MINOR_V 53)
set(internal_SQLITE_PATCH_V 1)
set(internal_SQLITE_PATCH_V 2)

# sqlite uses (X*1000000 + Y*1000 + Z),
# but minor patch used since major is always 3
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SQLite version configuration - single source of truth
SQLITE3_MINOR = 53

SQLITE3_PATCH = 1
SQLITE3_PATCH = 2

SQLITE3_VERSION = "3.{}.{}".format(SQLITE3_MINOR, SQLITE3_PATCH)

Expand All @@ -17,7 +17,7 @@ bazel_dep(name = "rules_cc", version = "0.2.19")
bazel_dep(name = "platforms", version = "1.1.0")

# Library dependencies from the Bazel Central Registry
bazel_dep(name = "doctest", version = "2.4.12.bcr.1")
bazel_dep(name = "doctest", version = "2.4.12.bcr.1", dev_dependency = True)

# SQLite from BCR
bazel_dep(name = "sqlite3", version = SQLITE3_VERSION, repo_name = "sqlite")
4 changes: 2 additions & 2 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ Quickly summarized, there are dependencies, but they are all either development
- doctest
- commonCompilerWarnings

### Consume via Bazel

libsl3 is available on the Bazel Central Registry.
Add it to your `MODULE.bazel` file:

```bazel
bazel_dep(name = "libsl3")
```

### Consume via CMake

To build libsl3 without any dependencies, run
Expand Down
8 changes: 6 additions & 2 deletions doc/doc.dox
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ Active development happens rarely, but the library is still maintained and updat

\subsection bazel Bazel support

Since version 1.2.50004 (tested with SQLite3 3.50.4), the Bazel build system is supported.
libsl3 is available on the Bazel Central Registry.
Add it to your \c MODULE.bazel file:

\code
bazel_dep(name = "libsl3")
\endcode

This should make it easy to integrate libsl3 into a Bazel project.

\subsection consume Consuming sl3 in a CMake project

Expand Down
Loading
Loading