cmake: New (and temporary I hope) target to regerenerate the cmake files. (`make...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 7 Feb 2008 21:46:30 +0000 (21:46 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 7 Feb 2008 21:46:30 +0000 (21:46 +0000)
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt

index 7ab145e..2849ca6 100644 (file)
@@ -37,6 +37,10 @@ configure_file(
 add_custom_target(uninstall
   "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
 
+# Target to reinstall the CMake files (until cmake gets defaulted)
+add_custom_target(recmake
+COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && sh "${CMAKE_CURRENT_SOURCE_DIR}/extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh")
+
 # Enable CPack: Automatic package creation
 
 set(README "${CMAKE_CURRENT_SOURCE_DIR}/README")