Skip to content

Commit

Permalink
Forward COMPILER_LAUNCHER to the ABI-specific external projects
Browse files Browse the repository at this point in the history
This allows to speed-up the build of external projects.

Pick-to: 6.3 6.4
Change-Id: I3bbdbd6ec5b0920c9e912cb59a6e16c5a8efa0ec
Reviewed-by: Alexandru Croitor <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
  • Loading branch information
semlanik committed Jun 29, 2022
1 parent f2d9e76 commit c723117
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/corelib/Qt6AndroidMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,14 @@ function(_qt_internal_configure_android_multiabi_target target)
list(APPEND extra_cmake_args "-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}")
endif()

if(CMAKE_C_COMPILER_LAUNCHER)
list(APPEND extra_cmake_args "-DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}")
endif()

if(CMAKE_CXX_COMPILER_LAUNCHER)
list(APPEND extra_cmake_args "-DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER}")
endif()

set(missing_qt_abi_toolchains "")
set(previous_copy_apk_dependencies_target ${target})
# Create external projects for each android ABI except the main one.
Expand Down

0 comments on commit c723117

Please sign in to comment.