Commit Graph
6 Commits
Author SHA1 Message Date
Denver Coneybeare 4d261dffc9 Fail the cmake build if reading the version from the podspec fails (#8068) 2021-05-12 19:57:59 -04:00
Gil 766e8723d7 Rework CMake builds of Firebase Frameworks (#3499)
* Add sed scripts that find the versions of podspecs

... without fully loading those via Pod::Spec, which is slow.

* Avoid compiling with different visibility settings

... in different translation units. This removes warnings about linking
googletest causing weak symbols becoming strong.

* Add CMake objc_framework

* Define FirebaseCore via objc_framework

* Define FIRCoreDiagnosticsInterop via objc_framework

* Define GoogleUtilities with objc_framework

* Define FirebaseCoreDiagnosticsInterop via objc_framework

* Define FirebaseAuthInterop via objc_framework

* Don't duplicate Core's dependency information everywhere

* Remove podspec_framework

* Fix compilation error with -Wstrict-prototyes
2019-08-05 16:46:28 -07:00
Gil afc71a4e84 CMake fixes for GoogleDataTransport (#3268)
* Fix a few things that should have been splatted but weren't

* Define PODS_TARGET_SRCROOT in CMake for compatibility with CocoaPods

* Compile pods we depend upon with looser settings

* Rename the nanopb dependency to match what CMake actually has

* Make #include <nanopb/pb.h> work

Remove the old way of #include <pb.h> once we change the Firestore
nanopb generator to match.
2019-06-26 17:30:44 -07:00
Gil 5a707ab44e Update CMake build instructions (#1730)
* Use bundler only when .bundle exists

This makes the build compatible with Travis which needs bundler and
local installs of cocoapods.

* Update gitignore

* Update CMake instructions
2018-08-23 09:14:14 -07:00
Gil f6a53e1faf Get cocaopods from bundler (#1544) 2018-07-16 14:37:40 -07:00
Gil c7fb0a4875 Generate CMake frameworks from podspecs (#1531)
* Rename utils.cmake to cc_rules.cmake

This makes it less of a dumping ground

* Fix sign mismatch in FIRApp

* Implement a podspec_framework CMake function

... that generates a CMake framework library target from a podspec.

* Remove manual CMake scripts for xcodebuild
2018-07-16 11:46:55 -07:00