added sqlite connection class (progress)
This commit is contained in:
+14
-5
@@ -2,15 +2,24 @@ cmake_minimum_required(VERSION 3.26)
|
||||
project(query)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
find_package(ODBC REQUIRED)
|
||||
find_package(SQLite3 REQUIRED)
|
||||
|
||||
message(STATUS "Found SQLite3 ${SQLite3_VERSION}")
|
||||
message(STATUS "Adding SQLite3 include directory: ${SQLite3_INCLUDE_DIRS}")
|
||||
message(STATUS "Adding SQLite3 libs: ${SQLite3_LIBRARIES}")
|
||||
|
||||
message(STATUS "Common flags ${CMAKE_CXX_FLAGS}")
|
||||
message(STATUS "Debug flags ${CMAKE_CXX_FLAGS_DEBUG}")
|
||||
message(STATUS "Relase flags ${CMAKE_CXX_FLAGS_RELEASE}")
|
||||
|
||||
message(STATUS "Linker flags ${CMAKE_EXE_LINKER_FLAGS}")
|
||||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(test)
|
||||
add_subdirectory(backends)
|
||||
|
||||
add_executable(query main.cpp
|
||||
include/matador/sql/connection_impl.hpp
|
||||
include/matador/sql/connection_info.hpp)
|
||||
add_executable(query main.cpp)
|
||||
target_link_libraries(query matador)
|
||||
|
||||
Reference in New Issue
Block a user