title: When full build and when partial build?
body: <p>Hi I am trying to find out when full build is required and when partial build is sufficient.
  There are many articals but I am not able to find the specific answers.</p>
  
  <p>Below are my thoughts</p>
  
  <p><strong>Full build is required when :</strong></p>
  
  <p>1.Change in build of dependent modules.</p>
  
  <p>---change in build option or using optimization techniques.</p>
  
  <p>2.changes in the object layout:</p>
  
  <p>---Any change in the headder file, adding and deleting of new methods in class .</p>
  
  <p>---Changing object size by adding or removing of variables or virtual functions.</p>
  
  <p>---Data alignment changes using pragma pack.</p>
  
  <p>3.Any change in global variables</p>
  
  <p><strong>Partial build is sufficient  when:</strong></p>
  
  <p>1.Any change in the logic as long as it is not altering the interface specified</p>
  
  <p>2.change in stack variable</p>