From 3988d0b5dd1614839cee5a6aa23439cc156efe2d Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 25 Jan 2021 15:48:29 +0200 Subject: CMake conversion Signed-off-by: Mavridis Philippe --- src/sqlite/CMakeLists.txt | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/sqlite/CMakeLists.txt (limited to 'src/sqlite') diff --git a/src/sqlite/CMakeLists.txt b/src/sqlite/CMakeLists.txt new file mode 100644 index 0000000..f38d08a --- /dev/null +++ b/src/sqlite/CMakeLists.txt @@ -0,0 +1,54 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${ZLIB_INCLUDE_DIR} +) + + +##### SQLite (static) + +tde_add_library( sqlite STATIC_PIC + + SOURCES + alter.c + attach.c + auth.c + btree.c + build.c + callback.c + date.c + delete.c + expr.c + func.c + hash.c + insert.c + legacy.c + main.c + opcodes.c + os_unix.c + os_win.c + pager.c + parse.c + pragma.c + prepare.c + printf.c + random.c + select.c + table.c + tokenize.c + trigger.c + update.c + utf.c + util.c + vacuum.c + vdbe.c + vdbeapi.c + vdbeaux.c + vdbemem.c + where.c + + LINK + ${ZLIB_LIBRARIES} +) -- cgit v1.2.1