Skip to main content

sqlitecpp-build-meson

Builds SQLiteCpp with Meson. Use when configuring Meson builds, tests, or Meson options.

Source facts

Repository
SRombauts/SQLiteCpp
Last source activity
October 1, 2026 at 09:23
Detected SKILL.md language
English
Stars
2,789
Forks
575

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
sqlitecpp-build-meson
description
Builds SQLiteCpp with Meson. Use when configuring Meson builds, tests, or Meson options.
# SQLiteCpp Meson Build ## Quick builds - Default build: - `meson setup builddir` - `meson compile -C builddir` - With tests and examples: - `meson setup builddir -DSQLITECPP_BUILD_TESTS=true -DSQLITECPP_BUILD_EXAMPLES=true` - `meson compile -C builddir` - `meson test -C builddir` ## CI-style setup (GitHub Actions) - `meson setup builddir -DSQLITECPP_BUILD_TESTS=true -DSQLITECPP_BUILD_EXAMPLES=true --force-fallback-for=sqlite3` - `meson compile -C builddir` - `meson test -C builddir` ## Options - `SQLITECPP_BUILD_TESTS`: build unit tests. - `SQLITECPP_BUILD_EXAMPLES`: build examples. - `SQLITE_ENABLE_COLUMN_METADATA`: enable column origin metadata. - `SQLITE_ENABLE_ASSERT_HANDLER`: enable assert handler. - `SQLITE_HAS_CODEC`: enable codec API (requires SQLCipher). - `SQLITE_USE_LEGACY_STRUCT`: legacy `sqlite3_value` struct. - `SQLITECPP_DISABLE_STD_FILESYSTEM`: disable std::filesystem. - `SQLITECPP_DISABLE_SQLITE3_EXPANDED_SQL`: disable sqlite3_expanded_sql. - `SQLITE_OMIT_LOAD_EXTENSION`: omit load extension. ## Notes - C++17 is the SQLiteCpp project minimum; Meson defaults to `cpp_std=c++17` and rejects older standards. - MSVC requires VS2017 15.9 / MSVC 19.16 or newer, matching the CMake minimum and its CI coverage. - C++20 can be selected explicitly for compatibility testing.
View on GitHub