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} )
Code Example |
---|
Cpp :: Swift if...else Statement |
Cpp :: CREDSCORE codechef solution |
Cpp :: how to use and in c++ |
Cpp :: cast c++ |
Cpp :: nested loop c++ program example |
Cpp :: tic tac toe in cpp |
Cpp :: e.cpp |
Cpp :: onactorbeginoverlap c++ |
Cpp :: online convert c++ code to assembly language |
Cpp :: Integer Literrals in C++ Programming |
Cpp :: http://dcnet.ddns.ma/Connecter_Tuteur |
Cpp :: c++ create vector of size |
Cpp :: Casino Number Guessing Game - C++ |
Cpp :: subsequence |
Cpp :: int to string Using to_string method |
Cpp :: c++ permutation |
Cpp :: c++ destructor |
Cpp :: pre increment vs post increment c++ |
Cpp :: a function to create double quotes for alphabet in c++ |
C :: colourful text in c |
C :: random number between 2 in C |
C :: read files in c |
C :: reading string with spaces in c |
C :: find power of a number in c |
C :: how to shutdown system c++ |
C :: print 0 1 2 3 4 in c |
C :: create empty vector in rust |
C :: c static variables |
C :: sum average min max in c array |
C :: c int |