2
0

cglm.podspec 1.0 KB

12345678910111213141516171819202122232425262728
  1. Pod::Spec.new do |s|
  2. # Description
  3. s.name = "cglm"
  4. s.version = "0.7.2"
  5. s.summary = "📽 Optimized OpenGL/Graphics Math (glm) for C"
  6. s.description = <<-DESC
  7. cglm is math library for graphics programming for C. It is similar to original glm but it is written for C instead of C++ (you can use here too). See the documentation or README for all features.
  8. DESC
  9. s.documentation_url = "http://cglm.readthedocs.io"
  10. # Home
  11. s.homepage = "https://github.com/recp/cglm"
  12. s.license = { :type => "MIT", :file => "LICENSE" }
  13. s.author = { "Recep Aslantas" => "[email protected]" }
  14. # Sources
  15. s.source = { :git => "https://github.com/recp/cglm.git", :tag => "v#{s.version}" }
  16. s.source_files = "src", "include/cglm/**/*.h"
  17. s.public_header_files = "include", "include/cglm/**/*.h"
  18. s.exclude_files = "src/win/*", "src/dllmain.c", "src/**/*.h"
  19. s.preserve_paths = "include", "src"
  20. s.header_mappings_dir = "include"
  21. # Linking
  22. s.library = "m"
  23. end