How to add 2 project together for compile and make as one.
Posted on 2006-07-10
Under the same workspace, there are 2 projects A and B. Currently, we compile A and B separately. Run A first, A dumps its result to a file in hard disk. Then, run B and B get input from a file from hard disk(this file is either the one porject A created or from somewhere else.)
Now, want to compile and run these 2 projects together following any of the following sequences.
1. Compile A & B together, then automatically run A, then B (A created a file in hard disk and B get input from the file A created)
2. Compile A & B together, then run B only (input from a file with known file name from hard disk).
A command line parameter is used to choose any of the above 2 running sequences.
Do I need to merge the 2 projects together? (it is very big, a lot of files involved, there are a lot of variables to be renamed since the same names appear in both projects,will cost a lot of time)
Any easy way?