summaryrefslogtreecommitdiff
path: root/libs/cglm/cglm.podspec
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-06-14 00:06:42 -0500
committersanine <sanine.not@pm.me>2022-06-14 00:06:42 -0500
commit2f518e5e28d35ae24a5ac0e31000835e43b01972 (patch)
tree47fdeb9fa5b04e267702acb06424d3f87b37dd84 /libs/cglm/cglm.podspec
parent034d5c965ff34cfdf4b153af9f32360a02e35684 (diff)
add cglm as 3rd-party library
Diffstat (limited to 'libs/cglm/cglm.podspec')
-rw-r--r--libs/cglm/cglm.podspec37
1 files changed, 37 insertions, 0 deletions
diff --git a/libs/cglm/cglm.podspec b/libs/cglm/cglm.podspec
new file mode 100644
index 0000000..a8609e8
--- /dev/null
+++ b/libs/cglm/cglm.podspec
@@ -0,0 +1,37 @@
+Pod::Spec.new do |s|
+
+ # Description
+ s.name = "cglm"
+ s.version = "0.8.4"
+ s.summary = "📽 Highly Optimized Graphics Math (glm) for C"
+ s.description = <<-DESC
+cglm is math library for graphics programming for C. See the documentation or README for all features.
+ DESC
+
+ s.documentation_url = "http://cglm.readthedocs.io"
+
+ # Home
+ s.homepage = "https://github.com/recp/cglm"
+ s.license = { :type => "MIT", :file => "LICENSE" }
+ s.author = { "Recep Aslantas" => "recp@acm.org" }
+
+ # Sources
+ s.source = { :git => "https://github.com/recp/cglm.git", :tag => "v#{s.version}" }
+ s.source_files = "src", "include/cglm/**/*.h"
+ s.public_header_files = "include", "include/cglm/**/*.h"
+ s.exclude_files = "src/win/*", "src/dllmain.c", "src/**/*.h"
+ s.preserve_paths = "include", "src"
+ s.header_mappings_dir = "include"
+
+ # Linking
+ s.library = "m"
+
+ # Configuration
+ s.pod_target_xcconfig = {
+ 'CLANG_ENABLE_MODULES' => 'NO',
+ 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
+ 'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO',
+ 'GCC_C_LANGUAGE_STANDARD' => 'gnu11',
+ 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GLM_TESTS_NO_COLORFUL_OUTPUT'
+ }
+end