This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new c9edb0e [C] Make it easier to build the SQLite driver out of the box
(#116)
c9edb0e is described below
commit c9edb0e71db8953f3629dfb12a63a0784013e385
Author: Dewey Dunnington <[email protected]>
AuthorDate: Thu Sep 8 16:39:52 2022 -0300
[C] Make it easier to build the SQLite driver out of the box (#116)
* quality of life improvements for VSCode users
* set the C++ standard
---
.gitignore | 2 ++
c/drivers/sqlite/CMakeLists.txt | 3 +++
2 files changed, 5 insertions(+)
diff --git a/.gitignore b/.gitignore
index 4cc8cae..9d83b69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,6 +69,8 @@ docker_cache
*.orig
.*.swp
.*.swo
+CMakeUserPresets.json
+build/
site/
diff --git a/c/drivers/sqlite/CMakeLists.txt b/c/drivers/sqlite/CMakeLists.txt
index 2fac5e5..0998b99 100644
--- a/c/drivers/sqlite/CMakeLists.txt
+++ b/c/drivers/sqlite/CMakeLists.txt
@@ -21,6 +21,9 @@ list(APPEND CMAKE_MODULE_PATH
"${REPOSITORY_ROOT}/c/cmake_modules/")
include(AdbcDefines)
include(BuildUtils)
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
project(adbc_driver_sqlite
VERSION "${ADBC_BASE_VERSION}"
LANGUAGES CXX)