restored OUtputPinController

This commit is contained in:
Jonas Zeunert
2019-05-06 21:31:17 +02:00
parent bc583a5a92
commit 1b90bf7518
12 changed files with 103 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.6.2)
project(flippR_driver_networking)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/${OUTPUT_PATH}/cli)
set(SOURCES
input/SocketHandler.cpp
output/OutputRequestHandler.cpp
output/OutputRequestHandlerFactory.cpp
)
add_executable(${PROJECT_NAME} ${SOURCES})
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(${PROJECT_NAME} PRIVATE FlippR-Driver)
####################### POCO ##############################
find_package(Poco REQUIRED COMPONENTS Foundation Net JSON )
if(NOT Poco_FOUND)
message(FATAL_ERROR, "Could not find libPoco")
endif()
target_link_libraries(${PROJECT_NAME} PUBLIC Poco::Foundation Poco::Net Poco::JSON)