|
cmake_minimum_required(VERSION 3.6)
|
|
project(dbtest)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
|
|
set(SOURCE_FILES
|
|
../include/Tkdatabase.h
|
|
../src/Tkdatabase.cpp
|
|
../include/Tkdatanode.h
|
|
../src/Tkdatanode.cpp
|
|
dbtest.cpp)
|
|
|
|
add_executable(dbtest ${SOURCE_FILES}) |