"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/cmake/modules/UninstallTarget.cmake" (2 Dec 2022, 364 Bytes) of package /linux/misc/evolution-mapi-3.46.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # UninstallTarget.cmake
    2 #
    3 # Defines a custom target named 'uninstall'
    4 
    5 if(NOT TARGET uninstall)
    6     configure_file(
    7         "${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
    8         "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake"
    9         IMMEDIATE @ONLY)
   10 
   11     add_custom_target(uninstall
   12         COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/cmake_uninstall.cmake)
   13 endif(NOT TARGET uninstall)