1# ---------------------------------------------------------------------------- 2# Uninstall target, for "make uninstall" 3# ---------------------------------------------------------------------------- 4CONFIGURE_FILE( 5 "${OpenCV_SOURCE_DIR}/cmake/templates/cmake_uninstall.cmake.in" 6 "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" 7 @ONLY) 8 9ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") 10if(ENABLE_SOLUTION_FOLDERS) 11 set_target_properties(uninstall PROPERTIES FOLDER "CMakeTargets") 12endif() 13 14 15# ---------------------------------------------------------------------------- 16# target building all OpenCV modules 17# ---------------------------------------------------------------------------- 18add_custom_target(opencv_modules) 19if(ENABLE_SOLUTION_FOLDERS) 20 set_target_properties(opencv_modules PROPERTIES FOLDER "extra") 21endif() 22 23 24# ---------------------------------------------------------------------------- 25# targets building all tests 26# ---------------------------------------------------------------------------- 27if(BUILD_TESTS) 28 add_custom_target(opencv_tests) 29 if(ENABLE_SOLUTION_FOLDERS) 30 set_target_properties(opencv_tests PROPERTIES FOLDER "extra") 31 endif() 32endif() 33if(BUILD_PERF_TESTS) 34 add_custom_target(opencv_perf_tests) 35 if(ENABLE_SOLUTION_FOLDERS) 36 set_target_properties(opencv_perf_tests PROPERTIES FOLDER "extra") 37 endif() 38endif() 39