qt6-bb10/src
Alexey Edelev 97007e1ace Specify source and build directory explicitly for multi-ABI external projects
When building Android multi-ABI application in source tree the
ExternalProject_Add call generates a ninja rule that looks as
follows:
  cd <BINARY_DIR> && cmake <CMAKE_ARGS> <SOURCE_DIR>
In general case the rule works correctly unless SOURCE_DIR contains
CMakeCache.txt. In this case the cmake call uses the existing
CMakeCache.txt as the reference and tries to reuse the build directory
of the main ABI. It leads to the inconsistency for multi-ABI builds
and rewriting CMakeCache.txt. Passing both '-B' and '-S' arguments
explicitly avoids using CMakeCache.txt from a main build/source
directory and fixes in-source multi-ABI builds.

Fixes: QTBUG-107843
Pick-to: 6.4
Change-Id: I010b47bff81052401aebe459e7893838a9b99bc1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-10-25 18:56:08 +02:00
..
3rdparty vkmemalloc: Disable more warnings 2022-10-25 15:19:41 +02:00
android Android: Add a way to disable accessibility via an environment var 2022-10-20 14:47:49 +03:00
concurrent Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
corelib Specify source and build directory explicitly for multi-ABI external projects 2022-10-25 18:56:08 +02:00
dbus dbus: use same type of matching quotes 2022-10-21 12:02:34 -04:00
entrypoint Replace the syncqt.pl script with syncqt tool 2022-09-27 13:12:11 +02:00
gui FontEngine[DirectWrite]: Mark interface functions noexcept 2022-10-25 18:56:08 +02:00
network Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
opengl Do not use client-side data pointers in qopenglpaintengine 2022-10-21 16:02:34 +00:00
openglwidgets Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
platformsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
plugins wasm: disable run-time check for specialHTMLTargets 2022-10-25 14:39:24 +00:00
printsupport Replace usages of Q_CLANG_QDOC with Q_QDOC 2022-10-21 09:48:36 +02:00
sql SQL/MySQL: rework driver option parsing 2022-10-22 09:45:13 +02:00
testlib QBenchlib: stop exporting {begin,end}BenchmarkMeasurement 2022-10-24 21:00:11 -07:00
tools Mark *deployqt tools as user-facing and install versioned links 2022-10-25 15:38:46 +02:00
widgets StyleSheet: use item background rule when filling row backround 2022-10-25 05:16:15 +02:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Replace the syncqt.pl script with syncqt tool 2022-09-27 13:12:11 +02:00