Realm is a mobile database: an alternative to SQLite & key-value stores https://realm.io
Go to file
Ari Lazier d79a2e66aa Merge pull request #58 from realm/nh/bug/fixes_coordinator_path
Passing the correct config.path to the RealmCoordinator
2016-03-17 15:26:24 -07:00
CMake Factor duplicated logic out into a macro. 2016-03-02 01:16:11 -08:00
external submodule fixes 2016-03-03 14:48:41 -08:00
src fixes gcc optimisation causing RealmCoordinator to use a empty/default path 2016-03-14 16:42:52 -07:00
tests Merge pull request #42 from realm/tg/async-query 2016-03-02 15:13:18 -08:00
.gitignore Support building on Linux. 2016-03-02 01:02:11 -08:00
.gitmodules Hook the parser tests into the CMake build system. 2016-01-19 10:41:25 -08:00
CMakeLists.txt Update to core 0.97.0 2016-03-07 12:46:36 -08:00
README.md Fix link to the CMake download page. 2016-03-08 09:40:05 -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
    

If you wish to build against a local version of core you can invoke cmake like so:

cmake -DREALM_CORE_VERSION=/path/to/realm-core

The given core tree will be built as part of the object store build.

Testing

make run-tests