0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00
sqlpp11/tests/CMakeLists.txt

15 lines
364 B
CMake
Raw Normal View History

2013-08-15 19:26:09 +08:00
macro (build_and_run arg)
# Add headers to sources to enable file browsing in IDEs
add_executable(${arg} ${arg}.cpp ${sqlpp_headers})
2013-08-15 19:26:09 +08:00
add_test(${arg} ${arg})
endmacro ()
build_and_run(InterpretTest)
2014-01-19 03:58:51 +08:00
build_and_run(InsertTest)
build_and_run(RemoveTest)
build_and_run(UpdateTest)
build_and_run(SelectTest)
build_and_run(FunctionTest)
build_and_run(PreparedTest)
2013-08-15 19:26:09 +08:00