diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 01:28:48 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 01:28:48 +0100 |
commit | aa53fe6761a87398bc8aa626a52bd3ade2d8114b (patch) | |
tree | b804442bc3dbcb0e0281d8775b7c21645fddd085 | |
parent | added all cpp files to bindings (diff) | |
download | cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.tar cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.tar.gz cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.tar.bz2 cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.tar.lz cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.tar.xz cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.tar.zst cuberite-aa53fe6761a87398bc8aa626a52bd3ade2d8114b.zip |
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/sqlite/CMakeLists.txt | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f97c60c33..b59ade49d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ add_subdirectory(lib/cryptopp/) add_subdirectory(lib/zlib/) add_subdirectory(lib/lua/) add_subdirectory(lib/tolua++/) +add_subdirectory(lib/sqlite/) #TODo: set -Wall -Werror -Wextra set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}") diff --git a/lib/sqlite/CMakeLists.txt b/lib/sqlite/CMakeLists.txt new file mode 100644 index 000000000..8596e2d9c --- /dev/null +++ b/lib/sqlite/CMakeLists.txt @@ -0,0 +1,14 @@ + +cmake_minimum_required (VERSION 2.6) +project (sqlite) + +include_directories ("${PROJECT_SOURCE_DIR}/../../src/") +include_directories ("${PROJECT_SOURCE_DIR}/../") + +file(GLOB SOURCE + "*.c" +) + +add_library(sqlite ${SOURCE}) + +target_link_libraries(sqlite dl) |