File: CMakeLists.txt

package info (click to toggle)
soci 4.1.2-2~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 17,968 kB
  • sloc: ansic: 169,887; cpp: 54,198; javascript: 12,258; ada: 1,973; sh: 36; makefile: 12; xml: 2
file content (11 lines) | stat: -rw-r--r-- 354 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
add_executable(soci_sqlite3_test
  "test-sqlite3.cpp"
)
target_link_libraries(soci_sqlite3_test PRIVATE soci_tests_common SOCI::SQLite3)

set(SOCI_SQLITE3_TEST_CONNSTR ":memory:" CACHE STRING "The connection string to use for SQLite3 tests")

add_test(
  NAME soci_sqlite3_test
  COMMAND soci_sqlite3_test "${SOCI_SQLITE3_TEST_CONNSTR}" "--invisibles"
)