Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.3)
- project(smokedetector_CAPI)
- ##toolchain start
- set(CMAKE_SYSTEM_NAME Windows)
- ##toolchain end
- # include headers
- include_directories("TU OPENCV")
- #CMake flags
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
- set(SOURCE_FILES demo.cpp
- Helpers/FilePath.h
- Lbph/Lbph.cpp Lbph/Lbph.h Lbph/Lbph_SVM.cpp Lbph/Lbph_SVM.h
- Lbph/LbphElement.cpp Lbph/LbphElement.h
- Lbph/LbphConstants.cpp Lbph/LbphConstants.h
- ImageHandler.cpp ImageHandler.h
- )
- add_executable(smokedetector_CAPI ${SOURCE_FILES})
- target_link_libraries(smokedetector_CAPI ${OpenCV_LIBRARIES})
- add_definitions(-std=c++11)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement