Add the main.cpp file
Separate the main method from virtualSensor.cpp and add it to the
main.cpp file.
Change-Id: Ife3dd9bb6dee552d944399bcc769fc6c4ba54a4b
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/meson.build b/meson.build
index 20d186b..a5320f7 100644
--- a/meson.build
+++ b/meson.build
@@ -25,9 +25,10 @@
'virtual-sensor',
[
'calculate.cpp',
- 'virtualSensor.cpp',
'dbusSensor.cpp',
'dbusUtils.cpp',
+ 'main.cpp',
+ 'virtualSensor.cpp',
],
dependencies: [
dependency('nlohmann_json', include_type: 'system'),