<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 9:50 AM,  <span dir="ltr"><<a href="mailto:mythreyi@multicorewareinc.com" target="_blank">mythreyi@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Mythreyi P<br>
# Date 1510550268 -19800<br>
#      Mon Nov 13 10:47:48 2017 +0530<br>
# Node ID 198fac8283efc3e3665842eadbf7e0<wbr>3af5987637<br>
# Parent  fa556484e9663a65aabc839f333e0e<wbr>98fd6f80f2<br>
Add support for uninstall in windows<br>
<br>
Files installed in the INSTALL target are uninstalled.<br></blockquote><div><br></div><div>Pushed to default branch</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r fa556484e966 -r 198fac8283ef source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt     Fri Nov 10 11:46:13 2017 +0530<br>
+++ b/source/CMakeLists.txt     Mon Nov 13 10:47:48 2017 +0530<br>
@@ -726,3 +726,13 @@<br>
         set(PLATFORM_LIBS ${PLATFORM_LIBS} PARENT_SCOPE)<br>
     endif(PLATFORM_LIBS)<br>
 endif(hasParent)<br>
+<br>
+# uninstall target<br>
+if(NOT TARGET UNINSTALL)<br>
+    configure_file(<br>
+        "${CMAKE_CURRENT_SOURCE_DIR}/<wbr>cmake/<a href="http://cmake_uninstall.cmake.in" rel="noreferrer" target="_blank">cmake_uninstall.cmake.in</a><wbr>"<br>
+        "${CMAKE_CURRENT_BINARY_DIR}/<wbr>cmake_uninstall.cmake"<br>
+        IMMEDIATE @ONLY)<br>
+    add_custom_target(UNINSTALL<br>
+        COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/<wbr>cmake_uninstall.cmake)<br>
+endif()<br>
diff -r fa556484e966 -r 198fac8283ef source/cmake/<a href="http://cmake_uninstall.cmake.in" rel="noreferrer" target="_blank">cmake_uninstall.<wbr>cmake.in</a><br>
--- a/source/cmake/<a href="http://cmake_uninstall.cmake.in" rel="noreferrer" target="_blank">cmake_<wbr>uninstall.cmake.in</a>     Fri Nov 10 11:46:13 2017 +0530<br>
+++ b/source/cmake/<a href="http://cmake_uninstall.cmake.in" rel="noreferrer" target="_blank">cmake_<wbr>uninstall.cmake.in</a>     Mon Nov 13 10:47:48 2017 +0530<br>
@@ -17,3 +17,7 @@<br>
         message(STATUS "File '$ENV{DESTDIR}${file}' does not exist.")<br>
     endif()<br>
 endforeach(file)<br>
+<br>
+if(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/<wbr>install_manifest.txt")<br>
+    file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/<wbr>install_manifest.txt")<br>
+endif()<br>
______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
</blockquote></div><br></div></div>