فهرست منبع

On Windows, clean also Build/CMakeFiles directory to ensure MinGW build variables do not spill over to a subsequent MSVC build.

Lasse Öörni 12 سال پیش
والد
کامیت
402a027ae4
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      cmake_clean.bat

+ 2 - 1
cmake_clean.bat

@@ -27,6 +27,7 @@ if exist Build\CMakeCache.txt. del /F Build\CMakeCache.txt
 if exist android-Build\CMakeCache.txt. del /F android-Build\CMakeCache.txt
 if exist Source\Android\CMakeCache.txt. del /F Source\Android\CMakeCache.txt
 
-:: For Android build, need to clean the CMakeFiles as well
+:: Clean CMakeFiles directories
+if exist Build\CMakeFiles. rd /S /Q Build\CMakeFiles
 if exist android-Build\CMakeFiles. rd /S /Q android-Build\CMakeFiles
 if exist Source\Android\CMakeFiles. rd /S /Q Source\Android\CMakeFiles