Embed sqlite3

This commit is contained in:
Linus Probert 2018-03-16 19:46:28 +01:00
parent 42fd246185
commit 8a2cb3b446
3 changed files with 218442 additions and 0 deletions

View File

@ -120,9 +120,14 @@ add_executable(breakhack
src/projectile src/projectile
src/vector2d src/vector2d
src/map_room_modifiers src/map_room_modifiers
src/sqlite3
) )
# Sqlite has some warnings that I we don't need to see
set_source_files_properties(src/sqlite3.c COMPILE_FLAGS -w)
target_link_libraries(breakhack target_link_libraries(breakhack
${CMAKE_DL_LIBS} # Sqlite needs DL libs
${LUA_LIBRARY} ${LUA_LIBRARY}
${SDL2_LIBRARY} ${SDL2_LIBRARY}
${SDL2MAIN_LIBRARY} ${SDL2MAIN_LIBRARY}

207610
src/sqlite3.c Normal file

File diff suppressed because it is too large Load Diff

10827
src/sqlite3.h Normal file

File diff suppressed because it is too large Load Diff