Commit Graph

9 Commits

Author SHA1 Message Date
Thomas Goyne c394e33a7a Add support for building with the various sanitizers
When building with ASan, core is also built with ASan enabled (and thus
using a local build is required). The other two sanitizers aren't also
forwarded on to core's settings since they don't need to be.
2016-03-10 10:35:29 -08:00
Mark Rowe 3602cf7588 Factor duplicated logic out into a macro. 2016-03-02 01:16:11 -08:00
Mark Rowe 8c56d13382 Support building on Linux.
By default, Linux uses a locally-built version of core that is prepared
in an independent working copy of the realm-core git repository.

Support is also added for using an existing local build of core on both
OS X and Linux . This can be done by running
`cmake -DREALM_CORE_VERSION=/path/to/realm-core`. The generated build
system will invoke `sh build.sh build` within the given directory prior
to building the object store.
2016-03-02 01:02:11 -08:00
Thomas Goyne 055de67185 Fix dependency information for the core tarball 2016-02-18 19:02:54 -08:00
Thomas Goyne 0e08e05238 Only set REALM_DEBUG for debug builds 2016-01-21 13:56:41 -08:00
Thomas Goyne 9d1a3da411 Add the required preprocessor flags for using core 2016-01-21 11:06:23 -08:00
Mark Rowe fbb386a735 Improve things a little for Linux. 2016-01-19 10:41:25 -08:00
Mark Rowe 9d43f8952e Rework `download_realm_core` to avoid re-downloading core on clean builds. 2016-01-19 10:41:25 -08:00
Mark Rowe 9cf26ed2cb Add an initial pass at a CMake-based build system.
It currently creates a dynamic library, and builds on OS X only.
2016-01-19 10:41:25 -08:00