<p>I'm building a project from the command line using WinCE platform builder, and I need RTTI to be enabled, so that my project works correctly. I tried setting the option <code>RTTI="YES</code>" in the sources and in the makefile of each dir, and I also tried to add it at the end of  <code>CDEFINES</code>, but when I try to build the project, I get the <code>D9025</code> warnings, which says that my <code>"/GR was overriden by /GR-" ( enable RTTI was overriden by don't enable RTTI )</code>.
My question is, how can I find out where that option is set, so that I can modify it?</p>

<hr>

<p>The thing is that we only copy the sources to some dirs, we specify them in a file named "sources", and then we proceed with the build by issuing the following command: <code>build</code></p>

<p>What I would like to know is, where is build taking it's options from? What is the name of the file?</p>

Command-Line Warning D9025
If two options specify contradictory or incompatible directives, the directive specified or implied in the option farthest to the right on the command line is used.
If you get this warning when compiling from the development environment, and are not sure where the conflicting options are coming from, consider the following:
An option can be specified either in code or in the project's project settings. If you look at the compiler's Command Line Property Pages and if you see the conflicting options in the All Options field then the options are set in the project's property pages, otherwise, the options are set in source code.
If the options are set in project's property pages, look on the compiler's Preprocessor property page (with the project node selected in the Solution Explorer). If you do not see the option set there, check the Preprocessor property page settings for each source code file (in Solution Explorer) to make sure it's not added there.
If the options are set in code it could be set either in code or in the windows headers. You might try creating a preprocessed file (/P) and search it for the symbol.
reference:
http://msdn.microsoft.com/en-us/library/8k3f51f1(vs.80).aspx