File: UninstallTarget.cmake

package info (click to toggle)
evolution-data-server 3.30.5-1%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 42,812 kB
  • sloc: ansic: 340,864; cpp: 468; xml: 455; perl: 297; sh: 62; makefile: 49; python: 35
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)