2
0

cglm.podspec 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Pod::Spec.new do |s|
  2. # Description
  3. s.name = "cglm"
  4. s.version = "0.9.0"
  5. s.summary = "📽 Highly Optimized Graphics Math (glm) for C"
  6. s.description = <<-DESC
  7. cglm is math library for graphics programming for C. 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. # Configuration
  24. s.pod_target_xcconfig = {
  25. 'CLANG_ENABLE_MODULES' => 'NO',
  26. 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
  27. 'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO',
  28. 'GCC_C_LANGUAGE_STANDARD' => 'gnu11',
  29. 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GLM_TESTS_NO_COLORFUL_OUTPUT'
  30. }
  31. end