Skip to content

Commit bbc3233

Browse files
committed
Initial support for sqlite3
1 parent 5e9cddf commit bbc3233

8 files changed

Lines changed: 2403 additions & 1 deletion

File tree

modules/yup_core/database/yup_SqliteDatabase.cpp

Lines changed: 544 additions & 0 deletions
Large diffs are not rendered by default.

modules/yup_core/database/yup_SqliteDatabase.h

Lines changed: 416 additions & 0 deletions
Large diffs are not rendered by default.

modules/yup_core/yup_core.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,11 @@ extern char** environ;
340340
//==============================================================================
341341
#include "files/yup_Watchdog.cpp"
342342

343+
//==============================================================================
344+
#if YUP_MODULE_AVAILABLE_sqlite3_library
345+
#include "database/yup_SqliteDatabase.cpp"
346+
#endif
347+
343348
//==============================================================================
344349
namespace yup
345350
{

modules/yup_core/yup_core.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,11 @@ YUP_END_IGNORE_WARNINGS_MSVC
388388
#include "files/yup_Watchdog.h"
389389
#include "streams/yup_AndroidDocumentInputSource.h"
390390

391+
#if YUP_MODULE_AVAILABLE_sqlite3_library
392+
#include "sqlite3_library/sqlite3_library.h"
393+
#include "database/yup_SqliteDatabase.h"
394+
#endif
395+
391396
#include "detail/yup_CallbackListenerList.h"
392397

393398
#if YUP_CORE_INCLUDE_OBJC_HELPERS && (YUP_MAC || YUP_IOS)

tests/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ set (target_modules
6767
opus_library
6868
flac_library
6969
hmp3_library
70-
bungee_library)
70+
bungee_library
71+
sqlite3_library)
7172

7273
if (NOT YUP_PLATFORM_EMSCRIPTEN)
7374
list (APPEND target_modules yup_gui yup_audio_gui)

0 commit comments

Comments
 (0)