Realm is a mobile database: an alternative to SQLite & key-value stores https://realm.io
Go to file
kishikawa katsumi 0bae415718 Read-only Realm should be opened even in immutable directory Realm files in an app bundle should be opened if marked as read-only 2016-01-20 16:25:10 -08:00
CMake Improve things a little for Linux. 2016-01-19 10:41:25 -08:00
external Hook the parser tests into the CMake build system. 2016-01-19 10:41:25 -08:00
src Read-only Realm should be opened even in immutable directory Realm files in an app bundle should be opened if marked as read-only 2016-01-20 16:25:10 -08:00
tests Hook the parser tests into the CMake build system. 2016-01-19 10:41:25 -08:00
.gitignore Hook the parser tests into the CMake build system. 2016-01-19 10:41:25 -08:00
.gitmodules Hook the parser tests into the CMake build system. 2016-01-19 10:41:25 -08:00
CMakeLists.txt Improve things a little for Linux. 2016-01-19 10:41:25 -08:00
README.md Add information on using the build system to the README. 2016-01-19 10:55:07 -08:00

README.md

Realm Object Store

Cross-platform code used accross bindings. Binding developers can choose to use some or all the included functionality:

  • object_store/schema/object_schema/property - contains the structures and logic used to setup and modify realm files and their schema.
  • shared_realm - wraps the object_store apis to provide transactions, notifications, realm caching, migrations, and other higher level functionality.
  • object_accessor/results/list - accessor classes, object creation/update pipeline, and helpers for creating platform specific property getters and setters.
  • parser/query_builder - cross platform query parser and query builder - requires and object_accessor specialization for argument support. Depends on https://github.com/ColinH/PEGTL

Building

The object store's build system currently only suports building for OS X. The object store itself can build for all Apple platforms when integrated into a binding.

  1. Install CMake. You can download an installer for OS X from the [CMake download page], or install via Homebrew:

    brew install cmake
    
  2. Generate build files:

    cmake .
    
  3. Build:

    make
    

Testing

make run-tests