| 1 |
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
| 2 |
|
| 3 |
add_executable(lomiri-app-launch-tracepoints |
| 4 |
app-launch-tracepoints.c app-launch-tracepoints.h |
| 5 |
) |
| 6 |
|
| 7 |
set_target_properties(lomiri-app-launch-tracepoints PROPERTIES |
| 8 |
RUNTIME_OUTPUT_NAME "lomiri-app-launch-tracepoints-qt${QT_VERSION_MAJOR}" |
| 9 |
) |
| 10 |
|
| 11 |
target_link_libraries(lomiri-app-launch-tracepoints PRIVATE |
| 12 |
LTTng::UST |
| 13 |
Qt::Core |
| 14 |
Qt::Gui |
| 15 |
dl |
| 16 |
) |
| 17 |
|
| 18 |
install( |
| 19 |
TARGETS lomiri-app-launch-tracepoints |
| 20 |
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 21 |
) |
| 22 |
|
| 23 |
install( |
| 24 |
PROGRAMS lomiri-app-launch-profiler-lttng |
| 25 |
DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 26 |
RENAME "lomiri-app-launch-profiler-lttng-qt${QT_VERSION_MAJOR}" |
| 27 |
) |
| 28 |
install( |
| 29 |
PROGRAMS lomiri-appstart-profile |
| 30 |
DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 31 |
RENAME "lomiri-appstart-profile-qt${QT_VERSION_MAJOR}" |
| 32 |
) |
| 33 |
install( |
| 34 |
PROGRAMS lomiri-appstart-test |
| 35 |
DESTINATION ${CMAKE_INSTALL_BINDIR} |
| 36 |
RENAME "lomiri-appstart-test-qt${QT_VERSION_MAJOR}" |
| 37 |
) |