summaryrefslogtreecommitdiff
path: root/config.tests/hardfloat/hardfloat.pro
blob: 6aa1dd802344ccf63738ad29ddb42dc9e33565a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CONFIG -= x11 qt
SOURCES = hardfloat.cpp
OBJECTS_DIR = obj
QMAKE_CXXFLAGS += -MD

equals(QT_ARCH, "arm"):unix {
    test.commands = readelf -A hardfloat | grep -q \'Tag_ABI_VFP_args: VFP registers\'
    test.depends = hardfloat
    QMAKE_EXTRA_TARGETS += test

    default.target = all
    default.depends += test
    QMAKE_EXTRA_TARGETS += default
}