Wilfried Mestdagh wrote: > I have a project containing 2 exe's using same units. Some of the units > have conditional compilation. To not forget to build, is there a > compiler option that a certain unit is compiled always ?
No. Edit your projects' "DCU output" directory settings. Neither of them should be empty, and they should refer to different directories. That way, Delphi will generate two different DCU files from the same source file, and you won't need to worry about rebuilding each time you switch projects. (Remember to delete the current DCU file from the PAS file's directory the first time you try this.) -- Rob __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk