2012-02-03 12:26:49 +01:00
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# Uninstall target, for "make uninstall"
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
CONFIGURE_FILE(
|
|
|
|
"${OpenCV_SOURCE_DIR}/cmake/templates/cmake_uninstall.cmake.in"
|
|
|
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
2014-01-29 16:34:02 +01:00
|
|
|
@ONLY)
|
2012-02-03 12:26:49 +01:00
|
|
|
|
|
|
|
ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
|
2012-03-03 16:49:23 +01:00
|
|
|
if(ENABLE_SOLUTION_FOLDERS)
|
|
|
|
set_target_properties(uninstall PROPERTIES FOLDER "CMakeTargets")
|
|
|
|
endif()
|
2012-08-07 11:29:43 +02:00
|
|
|
|
2012-02-03 12:26:49 +01:00
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------
|
2013-03-25 18:57:53 +01:00
|
|
|
# target building all OpenCV modules
|
2012-03-03 16:49:23 +01:00
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
add_custom_target(opencv_modules)
|
|
|
|
if(ENABLE_SOLUTION_FOLDERS)
|
|
|
|
set_target_properties(opencv_modules PROPERTIES FOLDER "extra")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------
|
2013-03-25 18:57:53 +01:00
|
|
|
# targets building all tests
|
2012-03-03 16:49:23 +01:00
|
|
|
# ----------------------------------------------------------------------------
|
2012-03-02 09:48:33 +01:00
|
|
|
if(BUILD_TESTS)
|
|
|
|
add_custom_target(opencv_tests)
|
|
|
|
if(ENABLE_SOLUTION_FOLDERS)
|
2012-03-03 16:49:23 +01:00
|
|
|
set_target_properties(opencv_tests PROPERTIES FOLDER "extra")
|
2012-03-02 09:48:33 +01:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
if(BUILD_PERF_TESTS)
|
|
|
|
add_custom_target(opencv_perf_tests)
|
|
|
|
if(ENABLE_SOLUTION_FOLDERS)
|
2012-03-03 16:49:23 +01:00
|
|
|
set_target_properties(opencv_perf_tests PROPERTIES FOLDER "extra")
|
2012-03-02 09:48:33 +01:00
|
|
|
endif()
|
|
|
|
endif()
|