File: UninstallTarget.cmake

package info (click to toggle)
evolution-ews 3.56.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,416 kB
  • sloc: ansic: 88,561; xml: 477; sh: 52; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
# UninstallTarget.cmake
#
# Defines a custom target named 'uninstall'

if(NOT TARGET uninstall)
	configure_file(
		"${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
		"${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
		IMMEDIATE @ONLY)

	add_custom_target(uninstall
		COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/cmake_uninstall.cmake)
endif(NOT TARGET uninstall)