33 lines
477 B
CMake
33 lines
477 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(defrost)
|
|
|
|
set(SOURCE_FILES
|
|
BaseListeningThread.h
|
|
BaseListeningThread.cpp
|
|
|
|
ModbusServiceListenThread.h
|
|
ModbusServiceListenThread.cpp
|
|
ModbusServiceWorker.h
|
|
ModbusServiceWorker.cpp
|
|
|
|
SynchronousSocket.h
|
|
SynchronousSocket.cpp
|
|
|
|
Thread.h
|
|
Thread.cpp
|
|
|
|
configparser.h
|
|
configparser.cpp
|
|
globals.h
|
|
globals.cpp
|
|
|
|
defrost.cpp
|
|
|
|
libdiff.h
|
|
libdiff.cpp
|
|
liblog.h
|
|
liblog.cpp
|
|
)
|
|
|
|
link_libraries(pthread)
|
|
add_executable(defrost ${SOURCE_FILES} ./defrost.cpp) |