create project
create project
This commit is contained in:
11
CMakeLists.txt
Executable file
11
CMakeLists.txt
Executable file
@@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project(main)
|
||||
|
||||
set(QMAKE_CXXFLAGS "-std=c++11")
|
||||
|
||||
find_package(OpenCV REQUIRED)
|
||||
|
||||
#set(CMAKE_BUILD_TYPE Debug)
|
||||
AUX_SOURCE_DIRECTORY(./src DIR_SRCS)
|
||||
add_executable(main ${DIR_SRCS})
|
||||
target_link_libraries(main ${OpenCV_LIBS})
|
||||
Reference in New Issue
Block a user