|
12 | 12 | # See the License for the specific language governing permissions and
|
13 | 13 | # limitations under the License.
|
14 | 14 |
|
15 |
| -add_subdirectory(Public) |
| 15 | +if(APPLE) |
| 16 | + podspec_version(firestore_version ${PROJECT_SOURCE_DIR}/FirebaseFirestore.podspec) |
| 17 | + |
| 18 | + cc_library( |
| 19 | + firebase_firestore_objc_api |
| 20 | + SOURCES |
| 21 | + API/FIRCollectionReference+Internal.h |
| 22 | + API/FIRCollectionReference.mm |
| 23 | + API/FIRDocumentChange+Internal.h |
| 24 | + API/FIRDocumentChange.mm |
| 25 | + API/FIRDocumentReference+Internal.h |
| 26 | + API/FIRDocumentReference.mm |
| 27 | + API/FIRDocumentSnapshot+Internal.h |
| 28 | + API/FIRDocumentSnapshot.mm |
| 29 | + API/FIRFieldPath+Internal.h |
| 30 | + API/FIRFieldPath.mm |
| 31 | + API/FIRFieldValue+Internal.h |
| 32 | + API/FIRFieldValue.mm |
| 33 | + API/FIRFirestore+Internal.h |
| 34 | + API/FIRFirestore.mm |
| 35 | + API/FIRFirestoreSettings+Internal.h |
| 36 | + API/FIRFirestoreSettings.mm |
| 37 | + API/FIRFirestoreSource+Internal.h |
| 38 | + API/FIRFirestoreSource.mm |
| 39 | + API/FIRFirestoreVersion.h |
| 40 | + API/FIRFirestoreVersion.mm |
| 41 | + API/FIRGeoPoint+Internal.h |
| 42 | + API/FIRGeoPoint.mm |
| 43 | + API/FIRListenerRegistration+Internal.h |
| 44 | + API/FIRListenerRegistration.mm |
| 45 | + API/FIRQuery+Internal.h |
| 46 | + API/FIRQuery.mm |
| 47 | + API/FIRQuerySnapshot+Internal.h |
| 48 | + API/FIRQuerySnapshot.mm |
| 49 | + API/FIRSnapshotMetadata+Internal.h |
| 50 | + API/FIRSnapshotMetadata.mm |
| 51 | + API/FIRTimestamp+Internal.h |
| 52 | + API/FIRTransaction+Internal.h |
| 53 | + API/FIRTransaction.mm |
| 54 | + API/FIRWriteBatch+Internal.h |
| 55 | + API/FIRWriteBatch.mm |
| 56 | + API/FSTFirestoreComponent.h |
| 57 | + API/FSTFirestoreComponent.mm |
| 58 | + API/FSTUserDataConverter.h |
| 59 | + API/FSTUserDataConverter.mm |
| 60 | + API/converters.h |
| 61 | + API/converters.mm |
| 62 | + Core/FSTTypes.h |
| 63 | + Public/FIRCollectionReference.h |
| 64 | + Public/FIRDocumentChange.h |
| 65 | + Public/FIRDocumentReference.h |
| 66 | + Public/FIRDocumentSnapshot.h |
| 67 | + Public/FIRFieldPath.h |
| 68 | + Public/FIRFieldValue.h |
| 69 | + Public/FIRFirestore.h |
| 70 | + Public/FIRFirestoreErrors.h |
| 71 | + Public/FIRFirestoreSettings.h |
| 72 | + Public/FIRFirestoreSource.h |
| 73 | + Public/FIRGeoPoint.h |
| 74 | + Public/FIRListenerRegistration.h |
| 75 | + Public/FIRQuery.h |
| 76 | + Public/FIRQuerySnapshot.h |
| 77 | + Public/FIRSnapshotMetadata.h |
| 78 | + Public/FIRTimestamp.h |
| 79 | + Public/FIRTransaction.h |
| 80 | + Public/FIRWriteBatch.h |
| 81 | + Public/FirebaseFirestore.h |
| 82 | + Util/FSTClasses.h |
| 83 | + DEPENDS |
| 84 | + absl_strings |
| 85 | + firebase_firestore_api |
| 86 | + ) |
| 87 | + |
| 88 | + target_include_directories( |
| 89 | + firebase_firestore_objc_api |
| 90 | + PUBLIC |
| 91 | + ${FIREBASE_SOURCE_DIR}/Firestore/Source/Public |
| 92 | + ) |
| 93 | +endif() |
0 commit comments