realm-js/CMakeLists.txt

20 lines
465 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.2.0)
2016-01-21 21:56:41 +00:00
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
project(realm-object-store)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
include(CodeCoverage)
include(CompilerFlags)
include(Sanitizers)
include(RealmCore)
2016-05-24 17:46:44 +00:00
set(REALM_CORE_VERSION "1.0.1" CACHE STRING "")
use_realm_core(${REALM_CORE_VERSION})
set(PEGTL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/pegtl)
add_subdirectory(src)
add_subdirectory(tests)