File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # Provide a mechanism for firebase-cpp-sdk to avoid unnecessarily building
16
+ # the Objective-C APIs and Tests, which it doesn't use.
17
+ option (FIRESTORE_INCLUDE_OBJC "Build the Firestore Objective-C layer" ON )
18
+
15
19
add_subdirectory (Protos )
16
20
add_subdirectory (Source )
17
21
add_subdirectory (core )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ if (NOT FIRESTORE_INCLUDE_OBJC )
16
+ return ()
17
+ endif ()
18
+
15
19
add_subdirectory (Benchmarks )
16
20
17
21
add_subdirectory (App )
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ if(NOT APPLE)
16
16
return ()
17
17
endif ()
18
18
19
+ if (NOT FIRESTORE_INCLUDE_OBJC )
20
+ return ()
21
+ endif ()
22
+
19
23
file (GLOB headers Public /FirebaseFirestore/*.h )
20
24
file (GLOB sources API/*.h API/*.m API/*.mm )
21
25
You can’t perform that action at this time.
0 commit comments