2016-03-28 21:02:17 +00:00
|
|
|
cmake_minimum_required(VERSION 3.2.0)
|
|
|
|
|
2016-01-21 21:56:41 +00:00
|
|
|
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
|
2016-01-06 22:40:53 +00:00
|
|
|
project(realm-object-store)
|
|
|
|
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
|
|
|
|
|
2016-02-19 01:21:08 +00:00
|
|
|
include(CodeCoverage)
|
2016-01-06 22:40:53 +00:00
|
|
|
include(CompilerFlags)
|
2016-03-10 14:45:19 +00:00
|
|
|
include(Sanitizers)
|
2016-01-06 22:40:53 +00:00
|
|
|
|
|
|
|
include(RealmCore)
|
2016-04-27 23:28:59 +00:00
|
|
|
set(REALM_CORE_VERSION "0.100.1" CACHE STRING "")
|
2016-03-02 08:21:43 +00:00
|
|
|
use_realm_core(${REALM_CORE_VERSION})
|
2016-01-06 22:40:53 +00:00
|
|
|
|
2016-03-02 05:26:02 +00:00
|
|
|
set(PEGTL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/pegtl)
|
2016-01-06 22:40:53 +00:00
|
|
|
|
2016-01-06 23:52:12 +00:00
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(tests)
|