Skip to content

Commit

Permalink
Remove extraneous logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsimantov committed Sep 25, 2024
1 parent 1b4725a commit 602099a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,23 +236,19 @@ if(FIREBASE_CPP_USE_PRIOR_GRADLE_BUILD)
# In case there are multiple matches, take the one with the newest timestamp.
set(newest_timestamp 0)
foreach(possible_prev_build_dir IN LISTS possible_prev_build_dirs)
message("CONSIDERING ${possible_prev_build_dir}")
if(IS_DIRECTORY ${possible_prev_build_dir})
if(EXISTS "${possible_prev_build_dir}/${header_to_scan_for}")
# Check if it's newer than any other files.
message("FOUND ${possible_prev_build_dir}/${header_to_scan_for}")
file(TIMESTAMP "${possible_prev_build_dir}/${header_to_scan_for}" timestamp "%s")
message("GOT TIMESTAMP: ${timestamp}")
if(${timestamp} GREATER ${newest_timestamp})
message("USING ${possible_prev_build_dir}")
set(APP_BINARY_DIR ${possible_prev_build_dir})
set(newest_timestamp ${timestamp})
endif()
endif()
endif()
endforeach()
if (IS_DIRECTORY "${APP_BINARY_DIR}")
message("Found previous Firebase App build in ${APP_BINARY_DIR}")
message(STATUS "Found previous Firebase App build in ${APP_BINARY_DIR}")
else()
message(FATAL_ERROR "Could not find previous Firebase App build under ${prev_build_path}")
endif()
Expand Down

0 comments on commit 602099a

Please sign in to comment.