Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. cmake_minimum_required(VERSION 3.3)
  2. project(smokedetector_CAPI)
  3.  
  4. ##toolchain start
  5. set(CMAKE_SYSTEM_NAME Windows)
  6. ##toolchain end
  7. # include headers
  8. include_directories("TU OPENCV")
  9. #CMake flags
  10. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  11. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
  12.  
  13. set(SOURCE_FILES demo.cpp
  14. Helpers/FilePath.h
  15. Lbph/Lbph.cpp Lbph/Lbph.h Lbph/Lbph_SVM.cpp Lbph/Lbph_SVM.h
  16. Lbph/LbphElement.cpp Lbph/LbphElement.h
  17. Lbph/LbphConstants.cpp Lbph/LbphConstants.h
  18. ImageHandler.cpp ImageHandler.h
  19. )
  20. add_executable(smokedetector_CAPI ${SOURCE_FILES})
  21. target_link_libraries(smokedetector_CAPI ${OpenCV_LIBRARIES})
  22. add_definitions(-std=c++11)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement