Browse Source

Check for unused variables at the end of generate

Ben Boeckel 15 years ago
parent
commit
b97ee21fc6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmGlobalGenerator.cxx

+ 2 - 0
Source/cmGlobalGenerator.cxx

@@ -905,6 +905,8 @@ void cmGlobalGenerator::Generate()
     }
 
   this->CMakeInstance->UpdateProgress("Generating done", -1);
+
+  this->CMakeInstance->RunCheckForUnusedVariables("generation");
 }
 
 //----------------------------------------------------------------------------