Skip to content

Commit

Permalink
sqlite3: Switch to sqlite3-amalgamation version 3.38.5
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Jun 11, 2022
1 parent c5665cd commit 0196365
Show file tree
Hide file tree
Showing 4 changed files with 240,498 additions and 35 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@ add_definitions(
-DIMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS -DIMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS
-DIMGUI_DISABLE_WIN32_FUNCTIONS -DIMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION -DIMGUI_ENABLE_FREETYPE
)
add_definitions(
-DSQLITE_OMIT_WAL -DSQLITE_OS_OTHER
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -ffast-math -mtune=cortex-a9 -mfpu=neon -Wall -Wno-psabi -fno-rtti -std=gnu++17")
set(VITA_MKSFOEX_FLAGS "${VITA_MKSFOEX_FLAGS} -d PARENTAL_LEVEL=1")


include_directories(
${VITASDK}/arm-vita-eabi/include/freetype2/
libs/imgui
libs/sqlite3
include
)

Expand All @@ -43,6 +46,7 @@ add_executable(${PROJECT_NAME}
libs/imgui/imgui_tables.cpp
libs/imgui/imgui_widgets.cpp
libs/imgui/misc/freetype/imgui_freetype.cpp
libs/sqlite3/sqlite3.c
source/applist.cpp
source/config.cpp
source/fs.cpp
Expand All @@ -61,7 +65,6 @@ add_executable(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
freetype
png
sqlite3
pthread
lzma
z
Expand Down
Loading

0 comments on commit 0196365

Please sign in to comment.