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)
|
|
|
|
|
2016-01-07 01:23:11 +00:00
|
|
|
cmake_minimum_required(VERSION 3.2.0)
|
2016-01-06 22:40:53 +00:00
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
|
|
|
|
|
|
|
|
include(CompilerFlags)
|
|
|
|
|
|
|
|
include(RealmCore)
|
|
|
|
download_realm_core(0.95.5)
|
|
|
|
|
2016-01-06 23:52:12 +00:00
|
|
|
include_directories(${REALM_CORE_INCLUDE_DIR} src external/pegtl)
|
2016-01-06 22:40:53 +00:00
|
|
|
|
2016-01-06 23:52:12 +00:00
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(tests)
|