Summary: Changed the extensions of c files to cpp and made the project build successfully Reviewed By: gkassabli Differential Revision: D6271299 fbshipit-source-id: 66c0e54ccf019d72d1fd0b4d117826e4e84fdc89
29 lines
945 B
Ruby
29 lines
945 B
Ruby
Pod::Spec.new do |spec|
|
|
spec.name = 'Yoga'
|
|
spec.version = '1.7.0'
|
|
spec.license = { :type => 'BSD', :file => "LICENSE" }
|
|
spec.homepage = 'https://facebook.github.io/yoga/'
|
|
spec.documentation_url = 'https://facebook.github.io/yoga/docs/api/c/'
|
|
|
|
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
|
|
spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
|
|
|
|
spec.authors = 'Facebook'
|
|
spec.source = {
|
|
:git => 'https://github.com/facebook/yoga.git',
|
|
:tag => '1.7.0',
|
|
}
|
|
|
|
spec.module_name = 'yoga'
|
|
spec.requires_arc = false
|
|
spec.compiler_flags = [
|
|
'-fno-omit-frame-pointer',
|
|
'-fexceptions',
|
|
'-Wall',
|
|
'-Werror',
|
|
'-std=c++1y',
|
|
'-fPIC'
|
|
]
|
|
spec.source_files = 'yoga/**/*.{c,h,cpp}'
|
|
end
|