@@ -1,7 +1,12 @@ | |||
include_directories( ${Utils_SOURCE_DIRS}) | |||
link_directories(${Utils_SOURCE_DIRS}) | |||
add_library(ControlModule control_module.cpp) | |||
set_target_properties(ControlModule PROPERTIES VERSION ${PROJECT_VERSION}) | |||
target_include_directories(ControlModule PRIVATE .) | |||
target_link_libraries( ControlModule Utils) | |||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | |||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | |||
include(CPack) |
@@ -1,11 +1,13 @@ | |||
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) | |||
set_target_properties(Input PROPERTIES VERSION ${PROJECT_VERSION}) | |||
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_VERSION ${PROJECT_VERSION}) |
@@ -1,7 +1,12 @@ | |||
include_directories( ${Utils_SOURCE_DIRS}) | |||
link_directories(${Utils_SOURCE_DIRS}) | |||
add_library(Interpreter interpreter.cpp) | |||
set_target_properties(Interpreter PROPERTIES VERSION ${PROJECT_VERSION}) | |||
target_include_directories(Interpreter PRIVATE .) | |||
target_link_libraries( Interpreter Utils) | |||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | |||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | |||
include(CPack) |
@@ -1,7 +1,12 @@ | |||
include_directories( ${Utils_SOURCE_DIRS}) | |||
link_directories(${Utils_SOURCE_DIRS}) | |||
add_library(IntersectionHandler intersection_handler.cpp) | |||
set_target_properties(IntersectionHandler PROPERTIES VERSION ${PROJECT_VERSION}) | |||
target_include_directories(IntersectionHandler PRIVATE .) | |||
target_link_libraries( IntersectionHandler Utils) | |||
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) | |||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) | |||
include(CPack) |