File tree Expand file tree Collapse file tree 3 files changed +32
-12
lines changed Expand file tree Collapse file tree 3 files changed +32
-12
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ option(FIREBASE_INCLUDE_REMOTE_CONFIG
51
51
option (FIREBASE_INCLUDE_STORAGE
52
52
"Include the Cloud Storage for Firebase library." ON )
53
53
54
+ option (FIREBASE_INCLUDE_EDITOR_TOOL
55
+ "Include Unity editor tools for Firebase library." ON )
54
56
option (FIREBASE_UNITY_BUILD_TESTS
55
57
"Enable the Firebase Unity Build Tests." OFF )
56
58
@@ -218,6 +220,11 @@ set(TARGET_LINK_LIB_NAMES "firebase_app" "firebase_app_swig" "flatbuffers")
218
220
set (PROJECT_LIST_HEADER "#define PROJECT_LIST(X)" )
219
221
list (APPEND PROJECT_LIST_HEADER " X(App)" )
220
222
223
+ # Include Firebase editor tools.
224
+ if (FIREBASE_INCLUDE_EDITOR_TOOL )
225
+ add_subdirectory (editor )
226
+ endif ()
227
+
221
228
if (FIREBASE_INCLUDE_ANALYTICS )
222
229
add_subdirectory (analytics )
223
230
list (APPEND TARGET_LINK_LIB_NAMES "firebase_analytics" "firebase_analytics_swig" )
Original file line number Diff line number Diff line change
1
+ # Copyright 2021 Google
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ add_subdirectory (app )
Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ else()
23
23
set (firebase_app_editor_eap_src "" )
24
24
endif ()
25
25
26
- mono_add_library (firebase_app_editor_cs
27
- MODULE
28
- Firebase.Editor
29
- SOURCES
26
+ set (firebase_app_editor_src
30
27
src/AndroidAPILevelChecker.cs
31
28
src/ApiInfo.cs
32
29
src/AssemblyInfo.cs
@@ -51,25 +48,26 @@ mono_add_library(firebase_app_editor_cs
51
48
src/Link.Designer.cs
52
49
src/Link.resx
53
50
${firebase_app_editor_eap_src}
51
+ )
52
+
53
+ mono_add_library (firebase_app_editor_cs
54
+ MODULE
55
+ Firebase.Editor
56
+ SOURCES
57
+ ${firebase_app_editor_src}
54
58
REFERENCES
55
59
unity_editor_cs
56
60
unity_engine_cs
57
61
unity_ios_extensions_xcode_cs
58
62
google_jar_resolver_cs
59
63
google_ios_resolver_cs
60
- google_version_handler_cs
61
64
google_version_handlerimpl_cs
62
65
SYSTEM_REFERENCES
63
66
System .Xml
64
- DEFINES
65
- UNITY_EDITOR
67
+ XBUILD_EXE
68
+ ${XBUILD_EXE}
66
69
)
67
70
68
71
unity_pack_cs (firebase_app_editor_cs
69
72
PACK_PATH "Firebase/Editor/"
70
73
)
71
-
72
- set_property (TARGET firebase_app_editor_cs
73
- PROPERTY FOLDER
74
- "Firebase ${FIREBASE_PLATFORM_NAME} "
75
- )
You can’t perform that action at this time.
0 commit comments