sqlitecpp-build-meson
Builds SQLiteCpp with Meson. Use when configuring Meson builds, tests, or Meson options.
来源信息
- 仓库
- SRombauts/SQLiteCpp
- 最近来源活动
- 2026年10月1日 09:23
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 2,789
- 分支
- 575
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- 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.
在 GitHub 查看