include_directories( ${Utils_SOURCE_DIRS}) | |||||
link_directories(${Utils_SOURCE_DIRS}) | |||||
add_library(ControlModule control_module.cpp) | add_library(ControlModule control_module.cpp) | ||||
set_target_properties(ControlModule PROPERTIES VERSION ${PROJECT_VERSION}) | set_target_properties(ControlModule PROPERTIES VERSION ${PROJECT_VERSION}) | ||||
target_include_directories(ControlModule PRIVATE .) | target_include_directories(ControlModule PRIVATE .) | ||||
target_link_libraries( ControlModule Utils) | |||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||||
include(CPack) | include(CPack) |
find_package( OpenCV REQUIRED ) | find_package( OpenCV REQUIRED ) | ||||
include_directories( ${OpenCV_INCLUDE_DIRS} ) | |||||
include_directories( ${OpenCV_INCLUDE_DIRS} ${Utils_SOURCE_DIRS}) | |||||
link_directories(${Utils_SOURCE_DIRS}) | |||||
add_library(Input input.cpp) | add_library(Input input.cpp) | ||||
set_target_properties(Input PROPERTIES VERSION ${PROJECT_VERSION}) | set_target_properties(Input PROPERTIES VERSION ${PROJECT_VERSION}) | ||||
target_include_directories(Input PRIVATE .) | target_include_directories(Input PRIVATE .) | ||||
target_link_libraries( Input ${OpenCV_LIBS}) | |||||
target_link_libraries( Input ${OpenCV_LIBS} Utils) | |||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |
include_directories( ${Utils_SOURCE_DIRS}) | |||||
link_directories(${Utils_SOURCE_DIRS}) | |||||
add_library(Interpreter interpreter.cpp) | add_library(Interpreter interpreter.cpp) | ||||
set_target_properties(Interpreter PROPERTIES VERSION ${PROJECT_VERSION}) | set_target_properties(Interpreter PROPERTIES VERSION ${PROJECT_VERSION}) | ||||
target_include_directories(Interpreter PRIVATE .) | target_include_directories(Interpreter PRIVATE .) | ||||
target_link_libraries( Interpreter Utils) | |||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||||
include(CPack) | include(CPack) |
include_directories( ${Utils_SOURCE_DIRS}) | |||||
link_directories(${Utils_SOURCE_DIRS}) | |||||
add_library(IntersectionHandler intersection_handler.cpp) | add_library(IntersectionHandler intersection_handler.cpp) | ||||
set_target_properties(IntersectionHandler PROPERTIES VERSION ${PROJECT_VERSION}) | set_target_properties(IntersectionHandler PROPERTIES VERSION ${PROJECT_VERSION}) | ||||
target_include_directories(IntersectionHandler PRIVATE .) | target_include_directories(IntersectionHandler PRIVATE .) | ||||
target_link_libraries( IntersectionHandler Utils) | |||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | ||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | ||||
include(CPack) | include(CPack) |