1 set(the_target "example_gpu_performance")
\r
3 file(GLOB sources "performance/*.cpp")
\r
4 file(GLOB headers "performance/*.h")
\r
6 add_executable(${the_target} ${sources} ${headers})
\r
7 target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${OPENCV_GPU_SAMPLES_REQUIRED_DEPS})
\r
9 set_target_properties(${the_target} PROPERTIES
\r
10 OUTPUT_NAME "performance_gpu"
\r
11 PROJECT_LABEL "(EXAMPLE_GPU) performance")
\r
13 if(ENABLE_SOLUTION_FOLDERS)
\r
14 set_target_properties(${the_target} PROPERTIES FOLDER "samples//gpu")
\r
18 install(TARGETS ${the_target} RUNTIME DESTINATION "samples/gpu" COMPONENT main)
\r
21 if(INSTALL_C_EXAMPLES AND NOT WIN32)
\r
22 file(GLOB GPU_FILES performance/*.cpp performance/*.h)
\r
23 install(FILES ${GPU_FILES}
\r
24 DESTINATION share/OpenCV/samples/gpu/performance
\r
25 PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
\r