summaryrefslogtreecommitdiff
path: root/subprojects/boost-sqlite/test/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-14 00:16:10 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-14 00:16:10 -0400
commit13e0821fd783a1d5083d825af53cf20e8dcbfd76 (patch)
tree1ea363b0f13b3e87d177100e6ae6b9f30a2de1b8 /subprojects/boost-sqlite/test/CMakeLists.txt
parentaa55cb93036a89c64c08e08f4e1de4fa1fd5a775 (diff)
parentefcea3a80da7c4479d5fe168435ecc9fd06bdc72 (diff)
downloadsqlite-kv-bench-13e0821fd783a1d5083d825af53cf20e8dcbfd76.tar.gz
Merge commit 'efcea3a80da7c4479d5fe168435ecc9fd06bdc72' as 'subprojects/boost-sqlite'
Diffstat (limited to 'subprojects/boost-sqlite/test/CMakeLists.txt')
-rw-r--r--subprojects/boost-sqlite/test/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/subprojects/boost-sqlite/test/CMakeLists.txt b/subprojects/boost-sqlite/test/CMakeLists.txt
new file mode 100644
index 0000000..79750fb
--- /dev/null
+++ b/subprojects/boost-sqlite/test/CMakeLists.txt
@@ -0,0 +1,11 @@
+file(GLOB ALL_TEST_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
+
+add_executable(boost_sqlite_tests ${ALL_TEST_FILES})
+target_link_libraries(boost_sqlite_tests PUBLIC SQLite::SQLite3
+ Boost::json Boost::sqlite Boost::unit_test_framework)
+target_compile_definitions(boost_sqlite_tests PUBLIC BOOST_SQLITE_SEPARATE_COMPILATION=1)
+
+add_test(NAME boost_sqlite_tests COMMAND boost_sqlite_tests)
+
+add_subdirectory(extension)
+