|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.0.0) |
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.1.0) |
|
|
project(lfr_image_processing VERSION 0.1.0) |
|
|
project(lfr_image_processing VERSION 0.1.0) |
|
|
|
|
|
|
|
|
include(CTest) |
|
|
include(CTest) |
|
|
enable_testing() |
|
|
enable_testing() |
|
|
|
|
|
|
|
|
|
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON) |
|
|
|
|
|
|
|
|
find_package( OpenCV REQUIRED ) |
|
|
find_package( OpenCV REQUIRED ) |
|
|
|
|
|
find_package(Threads REQUIRED) |
|
|
|
|
|
|
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} |
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} |
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Input |
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Input |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(lfr_image_processing lfr.cpp autonomous_mode_main.cpp) |
|
|
add_executable(lfr_image_processing lfr.cpp autonomous_mode_main.cpp) |
|
|
|
|
|
|
|
|
target_link_libraries( lfr_image_processing ${OpenCV_LIBS} Input Processing ControlModule Interpreter IntersectionHandler ) |
|
|
|
|
|
|
|
|
target_link_libraries( lfr_image_processing ${OpenCV_LIBS} Input Processing ControlModule Interpreter IntersectionHandler Threads::Threads) |
|
|
|
|
|
|
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) |
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME}) |
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) |