From 62a729fbfd91ea1ec4a07358bbaae204bb74a831 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 21 Jan 2016 10:06:51 -0800 Subject: [PATCH] Add headers to CMakeLists --- src/CMakeLists.txt | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 61204003..bef8feb4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,11 +12,26 @@ set(SOURCES parser/parser.cpp parser/query_builder.cpp) +set(HEADERS + index_set.hpp + list.hpp + object_schema.hpp + object_store.hpp + results.hpp + schema.hpp + shared_realm.hpp + impl/transact_log_handler.hpp + parser/parser.hpp + parser/query_builder.hpp) + if(APPLE) include_directories(impl/apple) - list(APPEND SOURCES impl/apple/external_commit_helper.cpp) + list(APPEND SOURCES + impl/apple/external_commit_helper.cpp) + list(APPEND HEADERS + impl/apple/external_commit_helper.hpp) find_library(CF_LIBRARY CoreFoundation) endif() -add_library(realm-object-store SHARED ${SOURCES}) +add_library(realm-object-store SHARED ${SOURCES} ${HEADERS}) target_link_libraries(realm-object-store realm ${CF_LIBRARY})