
17 May
2007
17 May
'07
3:23 a.m.
Hi Michael, On May 16, 2007, at 11:58 AM, Michael Walter wrote:
I've stumbled on that "Duplicate name of actual target" error; unfortunately the FAQ doesn't seem to solve my problem, since I'm trying to compile two different files which happen to have the same basename, i.e. something like this:
lib foo : bar/test.cpp baz/test.cpp ;
What's the proper way to handle this situation, except for manually specifying the object file name?
The only way I know to do this, short of renaming the source file, is like this object bar_test : bar/test.cpp ; lib foo : bar_test baz/test.cpp ; unless you're willing to create separate bar and baz Jamfiles. -- Noel