comparison Resources/CMake/SQLiteConfiguration.cmake @ 0:3959d33612cc

initial commit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Jul 2012 14:32:22 +0200
parents
children 3a584803783e
comparison
equal deleted inserted replaced
-1:000000000000 0:3959d33612cc
1 SET(SQLITE_SOURCES_DIR ${CMAKE_BINARY_DIR}/sqlite-amalgamation-3071300)
2 DownloadPackage("http://www.sqlite.org/sqlite-amalgamation-3071300.zip" "${SQLITE_SOURCES_DIR}" "" "")
3
4 list(APPEND THIRD_PARTY_SOURCES
5 ${SQLITE_SOURCES_DIR}/sqlite3.c
6 )
7
8 add_definitions(
9 # For SQLite to run in the "Serialized" thread-safe mode
10 # http://www.sqlite.org/threadsafe.html
11 -DSQLITE_THREADSAFE=1
12 -DSQLITE_OMIT_LOAD_EXTENSION # Disable SQLite plugins
13 )
14
15 include_directories(
16 ${SQLITE_SOURCES_DIR}
17 )