compiling sqlite
This commit is contained in:
parent
afa259e530
commit
aa53fe6761
@ -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}")
|
||||
|
14
lib/sqlite/CMakeLists.txt
Normal file
14
lib/sqlite/CMakeLists.txt
Normal 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)
|
Loading…
Reference in New Issue
Block a user