Skip to content

Commit

Permalink
add podspec that was already added to next-major
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim committed Aug 29, 2016
1 parent 1f8eae0 commit a27dd55
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions RealmCore.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Pod::Spec.new do |s|
# Info
s.name = 'RealmCore'
s.version = `sh build.sh get-version`
s.summary = 'Realm Core'
s.homepage = 'https://realm.io'
s.source = { :git => 'https://github.com/realm/realm-core.git', :tag => "v#{s.version}" }
s.author = 'Realm'
s.license = 'Apache 2.0'

# Compilation
s.libraries = 'c++'
s.header_mappings_dir = 'src'
s.source_files = 'src/realm.hpp', 'src/realm/*.{h,hpp,cpp}', 'src/realm/{util,impl}/*.{h,hpp,cpp}'
s.exclude_files = 'src/realm/{config_tool,importer_tool,realmd,schema_dumper}.cpp'
s.compiler_flags = '-DREALM_ENABLE_ASSERTIONS',
'-DREALM_ENABLE_ENCRYPTION'
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/RealmCore/src"' }

# Platforms
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
end

0 comments on commit a27dd55

Please sign in to comment.