added inputsockethandlerfactory

This commit is contained in:
Johannes Wendel
2019-06-15 14:52:42 +02:00
parent e90c3f6695
commit 7146f67169
9 changed files with 91 additions and 12 deletions

View File

@@ -16,6 +16,7 @@ set(CMAKE_CXX_STANDARD 14)
set(BOOST_COMPONENTS program_options thread timer chrono)
project(FlippR-Driver)
################### CROSS_COMPILING ######################
IF(NOT RPI_ROOT)
@@ -74,7 +75,7 @@ file(GLOB_RECURSE SOURCES src/*.cpp)
if(BUILD_SHARED_LIB)
add_library(${PROJECT_NAME} SHARED ${SOURCES})
else()
add_library(${PROJECT_NAME} STATIC ${SOURCES} cli/OutputInterpreter.cpp cli/OutputInterpreter.h src/output/items/detail/DriverBoardItem.cpp src/output/items/detail/DriverBoardItem.h)
add_library(${PROJECT_NAME} STATIC ${SOURCES} cli/OutputInterpreter.cpp cli/OutputInterpreter.h src/output/items/detail/DriverBoardItem.cpp src/output/items/detail/DriverBoardItem.h include/DriverFactory.h)
endif(BUILD_SHARED_LIB)
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/src)