initial commit; argument list parser is implemented
This commit is contained in:
commit
9016f8461e
4 changed files with 109 additions and 0 deletions
20
CMakeLists.txt
Normal file
20
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
set(PROJECT "integral_image")
|
||||
|
||||
find_package(OpenCV REQUIRED)
|
||||
|
||||
find_package(OpenMP REQUIRED)
|
||||
if (OPENMP_FOUND)
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
endif()
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(${PROJECT} ${SOURCES})
|
||||
|
||||
target_link_libraries(${PROJECT} LINK_PUBLIC
|
||||
${OpenCV_LIBRARIES})
|
||||
Loading…
Add table
Add a link
Reference in a new issue