From ec42177b24b47ba68b3ae49634c942c76a9f92d4 Mon Sep 17 00:00:00 2001 From: Arseniy-Movshev Date: Sun, 19 Mar 2023 11:14:04 +0000 Subject: Restructure to split to daemon and qml accessor - add separate subdirs for daemon and qml - add some generic qml boilerplate - add a really lazy 'last value' loader implementation - license the project as gplv3 (add copyright notices and license text) --- daemon/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 daemon/CMakeLists.txt (limited to 'daemon/CMakeLists.txt') diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt new file mode 100644 index 0000000..7d38132 --- /dev/null +++ b/daemon/CMakeLists.txt @@ -0,0 +1,12 @@ +add_executable(healthd + sensorlogd.cpp + logger.cpp + logger.h + sensorPlugins/stepCounter.cpp + sensorPlugins/stepCounter.h + sensorPlugins/heartrateSensor.cpp + sensorPlugins/heartrateSensor.h +) +set_target_properties(healthd PROPERTIES AUTOMOC ON) +#add_compile_definitions(Q_DECLARE_PRIVATE_SUPPORTS_UNIQUE_PTR=${Q_DECLARE_PRIVATE_SUPPORTS_UNIQUE_PTR}) +target_link_libraries(healthd PRIVATE Qt5::Core Qt5::DBus Qt5::Qml Qt5::Positioning Qt5::Sensors) -- cgit v1.2.3-54-g00ecf