| 1 |
TEMPLATE = app |
| 2 |
LIBS += -llttng-ust -ldl |
| 3 |
CONFIG += -I. |
| 4 |
|
| 5 |
# warnings_are_errors depending on the compiler version, sometimes it doesn't |
| 6 |
# add the required flags (for instance for recent clang version on old Qt). |
| 7 |
warnings_are_errors:!contains(QMAKE_CXXFLAGS_WARN_ON, -Werror){ |
| 8 |
QMAKE_CXXFLAGS_WARN_ON += -Werror |
| 9 |
} |
| 10 |
|
| 11 |
HEADERS += app-launch-tracepoints.h |
| 12 |
SOURCES += app-launch-tracepoints.c |
| 13 |
TARGET = lomiri-app-launch-tracepoints |
| 14 |
installPath = $$[QT_INSTALL_PREFIX]/bin/ |
| 15 |
app-launch-tracepoints.path = $$installPath |
| 16 |
app-launch-tracepoints.files = $$OUT_PWD/$$TARGET |
| 17 |
app-launch-tracepoints.CONFIG = no_check_exist |
| 18 |
app-launch-scripts.path = $$installPath |
| 19 |
app-launch-scripts.files = lomiri-app-launch-profiler-lttng \ |
| 20 |
lomiri-appstart-profile \ |
| 21 |
lomiri-appstart-test |
| 22 |
INSTALLS += app-launch-tracepoints |
| 23 |
INSTALLS += app-launch-scripts |