How do you manually set switches when you are compiling Stockfish in Visual Studio? How do you manually set switches when you are compiling Stockfish in Visual Studio?

In the type.h file it saids:


  When Makefile is not used (e.g. with Microsoft Visual Studio) some switches
  need to be set manually:
  
  -DNDEBUG      | Disable debugging mode. Always use this for release.
  
  -DNO_PREFETCH | Disable use of prefetch asm-instruction. You may need this to
                | run on some very old machines.
  
  DUSE_POPCNT  | Add runtime support for use of popcnt asm-instruction. Works
               | only in 64-bit mode and requires hardware with popcnt support.
  
  -DUSE_PEXT    | Add runtime support for use of pext asm-instruction. Works
                | only in 64-bit mode and requires hardware with pext support.


I just want to where where/how do you put these "commands"?
This question should be in programming.

These can be put in a top h file, the best being stdafx.h.  Just include "#define DNDEBUG",

They can be added to the command line/compiler commands.  Under VS6, Project->Settings (Alt+f7), there is a box to add project settings under the c/c++ tab.