formatting

This commit is contained in:
John
2022-04-18 08:40:19 +02:00
parent 88916b9a18
commit 856e23be13
7 changed files with 27 additions and 42 deletions
+5 -10
View File
@@ -1,16 +1,11 @@
add_definitions(-Wconversion -Wno-unused-parameter)
set(ebusd_SOURCES
bushandler.cpp
bushandler.h
datahandler.h
datahandler.cpp
network.cpp
network.h
mainloop.cpp
mainloop.h
main.h
main.cpp
bushandler.h bushandler.cpp
datahandler.h datahandler.cpp
network.h network.cpp
mainloop.h mainloop.cpp
main.h main.cpp
)
if(HAVE_MQTT)
+6 -10
View File
@@ -6,16 +6,12 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
bin_PROGRAMS = ebusd
ebusd_SOURCES = bushandler.cpp \
bushandler.h \
datahandler.cpp \
datahandler.h \
network.cpp \
network.h \
mainloop.cpp \
mainloop.h \
main.h \
main.cpp
ebusd_SOURCES = \
bushandler.h bushandler.cpp \
datahandler.h datahandler.cpp \
network.h network.cpp \
mainloop.h mainloop.cpp \
main.h main.cpp
if MQTT
ebusd_SOURCES += mqtthandler.cpp mqtthandler.h
+1 -2
View File
@@ -7,8 +7,7 @@ set(libebus_a_SOURCES
datatype.h datatype.cpp
data.h data.cpp
device.h device.cpp
message.cpp
message.h
message.h message.cpp
stringhelper.h stringhelper.cpp
)
+8 -14
View File
@@ -4,20 +4,14 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
noinst_LIBRARIES = libebus.a
libebus_a_SOURCES = result.cpp \
result.h \
symbol.cpp \
symbol.h \
filereader.h \
filereader.cpp \
datatype.cpp \
datatype.h \
data.cpp \
data.h \
device.cpp \
device.h \
message.cpp \
message.h \
libebus_a_SOURCES = \
result.h result.cpp \
symbol.h symbol.cpp \
filereader.h filereader.cpp \
datatype.h datatype.cpp \
data.h data.cpp \
device.h device.cpp \
message.h message.cpp \
stringhelper.h stringhelper.cpp
if CONTRIB
+2 -4
View File
@@ -1,10 +1,8 @@
add_definitions(-Wno-unused-parameter)
set(libebuscontrib_a_SOURCES
contrib.cpp
contrib.h
tem.cpp
tem.h
contrib.h contrib.cpp
tem.h tem.cpp
)
include_directories(..)
+3 -1
View File
@@ -4,7 +4,9 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
noinst_LIBRARIES = libebuscontrib.a
libebuscontrib_a_SOURCES = contrib.h contrib.cpp tem.h tem.cpp
libebuscontrib_a_SOURCES = \
contrib.h contrib.cpp \
tem.h tem.cpp
distclean-local:
-rm -f Makefile.in
+2 -1
View File
@@ -4,7 +4,8 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
noinst_LIBRARIES = libutils.a
libutils_a_SOURCES = log.h log.cpp \
libutils_a_SOURCES = \
log.h log.cpp \
tcpsocket.h tcpsocket.cpp \
thread.h thread.cpp \
clock.h clock.cpp \