Originally created by: recp
I created CocoaPods spec, so now Xcode users can import cglm to their project via CocoaPods.
target 'MyApp' do
# use_frameworks!
pod 'cglm', '~> 0.4'
# or latest version
pod 'cglm'
end
If you use use_frameworks! in Podfile, it will create cglm.framework and you will have to include headers as #include <cglm/cglm/cglm.h> or @import cglm;, @import cglm.cglm;, @import cglm.call;, @import cglm.mat4;...
Import framework header syntax:
#import <FrameworkName/Header.h>, since there is extra cglm folder you will need to use cglm twice.
Without use_frameworks! it will create libcglm.a and you can include headers as #include <cglm/cglm.h>
Cocoapods will link cglm to your project automatically.
Any help for Nuget and Linux packages would be appreciated. Especially I want to automate these in Travis CI and AppVeyor after build is completed.
Originally posted by: recp
Update:
Homebrew package has been approved! Now cglm can be installed on macOS via
brewlike: