We have a big application with a lot of conditional defines (which tell the compiled units).
The real situation is much more complicated than the example below but it will help you understand the problem:
- Let's say that we have 3 main units: main1, main2, main3.
- In each of these units uses section are common units and conditional units, e.g.
The problem is this: two programmers work on the same project but one with SERVICE_MODULE, the other with BORROW_MODULE;
If the first builds the program, then when the second programmer runs the program from Delphi, there is a message that ServiceMain doesn't exist in the project.
If he builds the project, everything would be fine for him, but then the first programmer would get the message: Borrow1 doesn't exist in the project.... and so on..
What is the easiest way so as the two programmers can work on the same project without bothering each other?
(very often both modify the common units too, of course after conciliation)