The best way is to use a Conditional Diagram Disable structure. This way you can make a project variable. You then have two different cases in the CDDS, one for Simulated and one for not. The best part of doing it this way is that the compiler only compiles the active case based on your project variable.
↧