title: How do you deal with IFDEFs in .dpr uses section
body: <p>Whenever you add a new unit to the project Delphi rebuilds the .dpr file and all the IFDEFs in the uses section are gone.</p>
  
  <p>To work around this I typically use NotePad to create new .pas files, and add it to the .dpr manually. If I need a form I use File->New->Form and then revert the .dpr file to the previous version. Not very RAD if you ask me ;-)</p>
  
  <p>How do you deal with that? Is there a way to add a unit in the IDE while keeping the IFDEFs?</p>