Remove superfluous define from tst_qmake
The QMAKE_CROSS_COMPILED define isn't used since 2011. Change-Id: I9f03791e9f7c0ef439db5e65d930c0b7cb928974 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
af61b5ca5c
commit
9a4391271b
@ -22,18 +22,3 @@ add_qt_test(tst_qmake
|
||||
|
||||
#### Keys ignored in scope 2:.:.:qmake.pro:WIN32:
|
||||
# testcase.timeout = "900"
|
||||
|
||||
extend_target(tst_qmake CONDITION CMAKE_CROSSCOMPILING
|
||||
DEFINES
|
||||
QMAKE_CROSS_COMPILED
|
||||
)
|
||||
|
||||
extend_target(tst_qmake CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND debug_and_release
|
||||
DEFINES
|
||||
DEBUG_BUILD
|
||||
)
|
||||
|
||||
extend_target(tst_qmake CONDITION debug_and_release AND NOT CMAKE_BUILD_TYPE STREQUAL Debug
|
||||
DEFINES
|
||||
RELEASE_BUILD
|
||||
)
|
||||
|
@ -22,8 +22,3 @@ add_qt_test(tst_qmake
|
||||
|
||||
#### Keys ignored in scope 2:.:.:qmake.pro:WIN32:
|
||||
# testcase.timeout = "900"
|
||||
|
||||
extend_target(tst_qmake CONDITION CMAKE_CROSSCOMPILING
|
||||
DEFINES
|
||||
QMAKE_CROSS_COMPILED
|
||||
)
|
||||
|
@ -5,7 +5,4 @@ TARGET = tst_qmake
|
||||
HEADERS += testcompiler.h
|
||||
SOURCES += tst_qmake.cpp testcompiler.cpp
|
||||
QT = core testlib
|
||||
|
||||
cross_compile: DEFINES += QMAKE_CROSS_COMPILED
|
||||
|
||||
TESTDATA += testdata/*
|
||||
|
Loading…
Reference in New Issue
Block a user