|
|
|
|
|
|
|
|
enable_testing() |
|
|
enable_testing() |
|
|
|
|
|
|
|
|
find_package( OpenCV REQUIRED ) |
|
|
find_package( OpenCV REQUIRED ) |
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} ) |
|
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/Input ) |
|
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/Processing) |
|
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/ControlModule) |
|
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/Interpreter) |
|
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/IntersectionHandler) |
|
|
|
|
|
|
|
|
|
|
|
link_directories( ${Input_SOURCE_DIRS} ) |
|
|
|
|
|
link_directories( ${Processing_SOURCE_DIRS} ) |
|
|
|
|
|
link_directories( ${ControlModule_SOURCE_DIRS} ) |
|
|
|
|
|
link_directories( ${Interpreter_SOURCE_DIRS} ) |
|
|
|
|
|
link_directories( ${IntersectionHandler_SOURCE_DIRS} ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} |
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Input |
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Processing |
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ControlModule |
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Interpreter |
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/IntersectionHandler |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
link_directories( ${Input_SOURCE_DIRS} |
|
|
|
|
|
${Processing_SOURCE_DIRS} |
|
|
|
|
|
${ControlModule_SOURCE_DIRS} |
|
|
|
|
|
${Interpreter_SOURCE_DIRS} |
|
|
|
|
|
${IntersectionHandler_SOURCE_DIRS} |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
add_subdirectory(Input) |
|
|
add_subdirectory(Input) |
|
|
add_subdirectory(Processing) |
|
|
add_subdirectory(Processing) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(lfr_image_processing lfr.cpp) |
|
|
add_executable(lfr_image_processing lfr.cpp) |
|
|
|
|
|
|
|
|
target_link_libraries( lfr_image_processing ${OpenCV_LIBS}) |
|
|
|
|
|
target_link_libraries( lfr_image_processing Input ) |
|
|
|
|
|
target_link_libraries( lfr_image_processing Processing ) |
|
|
|
|
|
target_link_libraries( lfr_image_processing ControlModule ) |
|
|
|
|
|
target_link_libraries( lfr_image_processing Interpreter ) |
|
|
|
|
|
target_link_libraries( lfr_image_processing IntersectionHandler ) |
|
|
|
|
|
|
|
|
target_link_libraries( lfr_image_processing ${OpenCV_LIBS} Input Processing ControlModule Interpreter IntersectionHandler ) |
|
|
|
|
|
|
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) |
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) |
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |