Hi,
If I have a source file that
generates two types of output, is it possible to generate them using bjam?
Say, foo.cpp is like this:
void f()
{
}
#if defined(EXE)
int main()
{
f();
}
#endif
Now, using the same file, I want
to generate a binary (by defining EXE) as well as a lib.
How do I declare the targets in
a bjam file?
Thanks,
Anant