summaryrefslogtreecommitdiff
path: root/qmlplugin/CMakeLists.txt
blob: 8149e4976a0a7bc52dd759aba528b96421025bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
add_library(
    sensorlogdqmlplugin
    sensorlogdqmlplugin.cpp
    sensorlogdqmlplugin.h
    stepsDataLoader.cpp
    stepsDataLoader.h
    hrDataLoader.cpp
    hrDataLoader.h
    loggerSettings.cpp
    loggerSettings.h
    ../common.cpp
    ../common.h
)

target_link_libraries(sensorlogdqmlplugin
	Qt5::Qml Qt5::Quick Qt5::DBus Qt5::Sensors
)

install(TARGETS sensorlogdqmlplugin
	DESTINATION ${INSTALL_QML_IMPORT_DIR}/org/asteroid/sensorlogd)
install(FILES qmldir
	DESTINATION ${INSTALL_QML_IMPORT_DIR}/org/asteroid/sensorlogd)