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