Hi,
I am not sure if I understand you correctly. But you can have multiple
projects in a Visual C++ project. For instance in my game engine project I
have a (subproject) that builds antlr.exe another subproject builds another
exe. I also even have a custom project that doesn't use cl.exe at all. It
uses my own compiler to create a C++ program that finally compiles to a
library.
Todo:
Open your main dsw file.
In solution explorer right click
Add new project ( or an existing one if you already got one).
Right click on the project and go to the property pages. There you can set
custom build steps. You can then specify mingw for compiler or even your own
compiler as in my case. by specifying dependecies correctly for instance I
have the following setup
antlr.exe is compiled (in the unlikely case it needs recompilation)
antlr.exe compiles my parser into an .cpp and .hpp files
those files are compiled with addtional sources into a windows executable
The windows executable compiles my gaming language file in to a C++ file
The result is compiled with the rest of the sources in something that
hopefully someday is a finished game :-)
Good luck
Regards, Ron AF Greve
http://www.InformationSuperHighway.eu
"ajay" <er**********@gmail.comwrote in message
news:67**********************************@w39g2000 prb.googlegroups.com...
Hi All,
I want to build two separate EXEs using one .dsw file. That
dsw file will load two different DSPs for two different projects. One
project would use gcc cross compiler but other project would use
standard cl.exe compiler.
These projects will share some header files but *.c file
will be mutually exclusive.
Does anyone know how to do this?
Thanks,
Ajay