1
0

compiling sqlite

This commit is contained in:
Tycho Bickerstaff 2013-12-19 00:28:48 +00:00
parent afa259e530
commit aa53fe6761
2 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,7 @@ add_subdirectory(lib/cryptopp/)
add_subdirectory(lib/zlib/) add_subdirectory(lib/zlib/)
add_subdirectory(lib/lua/) add_subdirectory(lib/lua/)
add_subdirectory(lib/tolua++/) add_subdirectory(lib/tolua++/)
add_subdirectory(lib/sqlite/)
#TODo: set -Wall -Werror -Wextra #TODo: set -Wall -Werror -Wextra
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}")

14
lib/sqlite/CMakeLists.txt Normal file
View File

@ -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)