mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 10:16:01 -04:00
13 lines
560 B
CMake
13 lines
560 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
project (SQLiteCpp)
|
|
add_definitions(-rdynamic -fstack-protector-all -Wall -Wextra -pedantic -Weffc++ -Wformat-security -Winit-self -Wswitch-default -Wswitch-enum -Wfloat-equal -Wundef -Wshadow -Wcast-qual -Wconversion -Wlogical-op -Winline -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn)
|
|
add_library(SQLiteCpp
|
|
src/Column.cpp
|
|
src/Database.cpp
|
|
src/Statement.cpp
|
|
src/Transaction.cpp
|
|
)
|
|
add_executable(example1 examples/example1/main.cpp)
|
|
target_link_libraries (example1 SQLiteCpp sqlite3)
|
|
|