Skip to content

Commit

Permalink
Added swift submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcampolo committed Nov 24, 2015
1 parent 24a48c8 commit c08cbb3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions VideoCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ Pod::Spec.new do |s|
s.homepage = "https://github.com/jgh-/VideoCore"
s.license = 'MIT'
s.authors = { "James Hurley" => "[email protected]" }
s.source = { :git => "https://github.com/jgh-/VideoCore.git", :tag => s.version.to_s }
s.source = { :git => "https://github.com/jgh-/VideoCore.git", :tag => s.version.to_s, :submodules => true }

s.requires_arc = false

s.header_dir = 'videocore'
s.header_mappings_dir = '.'
s.public_header_files = 'api/**/*.h'
# s.public_header_files = 'api/**/*.h'

s.source_files = [ 'mixers/**/*.h*', 'mixers/**/*.cpp', 'mixers/**/*.m*',
'rtmp/**/*.h*', 'rtmp/**/*.cpp', 'rtmp/**/*.m*',
Expand All @@ -44,4 +44,18 @@ Pod::Spec.new do |s|
# Before we can get OS X deployment working, we'll need to use sub-specs to
# separate out the source files for OS X vs. iOS
#s.osx.deployment_target = '10.7'

s.subspec 'Swift' do |swift|
swift.public_header_files = 'api/**/*.h'
swift.source_files = [ 'mixers/**/*.h*', 'mixers/**/*.cpp', 'mixers/**/*.m*',
'rtmp/**/*.h*', 'rtmp/**/*.cpp', 'rtmp/**/*.m*',
'sources/**/*.h*', 'sources/**/*.cpp', 'sources/**/*.m*',
'stream/**/*.h*', 'stream/**/*.cpp', 'stream/**/*.m*',
'system/**/*.h*', 'system/**/*.cpp', 'system/**/*.m*',
'transforms/**/*.h*', 'transforms/**/*.cpp', 'transforms/**/*.m*',
'api/**/*.h*', 'api/**/*.m*',
'filters/**/*.cpp', 'filters/**/*.h*' ]
swift.ios.deployment_target = '8.0'
end

end

0 comments on commit c08cbb3

Please sign in to comment.