mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-06 05:37:37 +08:00
17b8c337f9
* Standardize Row and Result api, throw specific exceptions * Fix drogon_ctl for sqlite3 models * Add mysql and sqlite3 tests, add exception throwing tests * configure mysql in travis-ci Co-authored-by: antao <antao2002@gmail.com>
13 lines
334 B
CMake
13 lines
334 B
CMake
link_libraries(${PROJECT_NAME})
|
|
|
|
add_executable(db_test
|
|
db_test.cc
|
|
postgresql/Users.cc
|
|
mysql/Users.cc
|
|
sqlite3/Users.cc
|
|
)
|
|
|
|
set_property(TARGET db_test PROPERTY CXX_STANDARD ${DROGON_CXX_STANDARD})
|
|
set_property(TARGET db_test PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
set_property(TARGET db_test PROPERTY CXX_EXTENSIONS OFF)
|