Add Android test runner tool

Change-Id: I235bc07be0e0f7a3b0ce6297c187950a57fb31ed
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2019-10-23 11:36:52 +02:00
parent 790d380f8b
commit f2cb720e3f
2 changed files with 29 additions and 0 deletions

View File

@ -9,4 +9,5 @@ add_subdirectory(qvkgen)
# Only include the following tools when performing a host build
if(NOT CMAKE_CROSSCOMPILING)
add_subdirectory(androiddeployqt)
add_subdirectory(androidtestrunner)
endif()

View File

@ -0,0 +1,28 @@
# Generated from androidtestrunner.pro.
#####################################################################
## androidtestrunner Binary:
#####################################################################
add_qt_executable(androidtestrunner
SOURCES
main.cpp
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
QT_NO_FOREACH
PUBLIC_LIBRARIES
Qt::Gui
)
#### Keys ignored in scope 1:.:.:androidtestrunner.pro:<TRUE>:
# _LOADED = "qt_app"
# _OPTION = "host_build"
## Scopes:
#####################################################################
extend_target(androidtestrunner CONDITION windows
COMPILE_OPTIONS
-U__STRICT_ANSI__
)