Skip to content

Commit c3dfb4d

Browse files
committed
Fix the cppsdk testing CMake file to include the correct sources
Config and ticker have a slightly atypical file structure for some of the libraries on Android and iOS. PiperOrigin-RevId: 260016106
1 parent 48be5f2 commit c3dfb4d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

testing/CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@ binary_to_array("testdata_config_resource"
2727

2828
set(config_common_SRCS
2929
config.h
30-
config.cc
3130
${FIREBASE_GEN_FILE_DIR}/testing/testdata_config_generated.h
3231
${FIREBASE_GEN_FILE_DIR}/testing/testdata_config_resource.h
3332
${FIREBASE_GEN_FILE_DIR}/testing/testdata_config_resource.cc)
3433
set(config_android_SRCS
34+
config.cc
3535
config_android.cc)
3636
set(config_ios_SRCS
3737
config_ios.h
3838
config_ios.mm)
3939
set(config_desktop_SRCS
40+
config.cc
4041
config_desktop.h
4142
config_desktop.cc)
4243
if(ANDROID)
@@ -75,7 +76,11 @@ set(ticker_common_SRCS
7576
set(ticker_android_SRCS
7677
ticker_android.cc)
7778
set(ticker_ios_SRCS
78-
ticker_ios.h)
79+
ticker_ios.h
80+
# Right now, we re-use the desktop implementation for iOS
81+
ticker_desktop.h
82+
ticker_desktop.cc
83+
)
7984
set(ticker_desktop_SRCS
8085
ticker_desktop.h
8186
ticker_desktop.cc)

0 commit comments

Comments
 (0)