Horje
Configuring an c++ OpenCV project with Cmake Code Example
Configuring an c++ OpenCV project with Cmake
cmake_minimum_required(VERSION 2.8) 
PROJECT (name)
find_package(OpenCV REQUIRED )
set( NAME_SRC
    src/main.cpp    
)

set( NAME_HEADERS       
     include/header.h
)

INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/include )
link_directories( ${CMAKE_BINARY_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
add_executable( name ${NAME_SRC} ${NAME_HEADERS} )

target_link_libraries( sample_pcTest ${OpenCV_LIBS} )




Cpp

Related
this is my p phone number in punjabi Code Example this is my p phone number in punjabi Code Example
practice problems for nested loops in c++ Code Example practice problems for nested loops in c++ Code Example
find first of a grammar Code Example find first of a grammar Code Example
rotate an array of n elements to the right by k steps Code Example rotate an array of n elements to the right by k steps Code Example
break statement in c++ program Code Example break statement in c++ program Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10