Functions | |
find_package (OpenCV REQUIRED) include_directories($ | |
include_directories (../../..) set(ApplicationName multiple-files) add_executable($ | |
PROPERTY CXX_STANDARD | install (TARGETS ${ApplicationName} DESTINATION bin) if(ADD_PYTHON_EXAMPLES) add_custom_command(TARGET $ |
main cpp Class1 cpp Class2 cpp | target_link_libraries (${ApplicationName} ${OpenCV_LIBS}) set_property(TARGET $ |
find_package | ( | OpenCV | REQUIRED | ) |
include_directories | ( | ../../ | .. | ) |
PROPERTY CXX_STANDARD install | ( | TARGETS ${ApplicationName} DESTINATION | bin | ) |