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)
|
2016-03-02 08:21:43 +00:00
|
|
|
set(REALM_CORE_VERSION "0.96.2" CACHE STRING "")
|
|
|
|
use_realm_core(${REALM_CORE_VERSION})
|
2016-01-06 22:40:53 +00:00
|
|
|
|
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)
|