The linker I'm using needs to have each compiled resource *.res file prepended with a '-l' for it to work properly. So say my project has 2 or more resource files for example, foo.res and bar.res, it needs to be passed to the linker like so:
bcc32 -lfoo.res -lbar.res
How can I setup C::B to do this? Using latest nightly build btw.
Thanks
Under the Link object files to static lib I see the following command macro:
$lib_linker /C $static_output $+-link_objects,$def_output
and it gives the correct output if I was building a static library. Namely the command executed by C::B would look something like this:
tlib /C mytestlib.lib +object1.obj +object2.obj ... +objectn.obj
which is the correct usage. But how is this command able to do this? If I try to use $+-link_objects under the l link obj to executable, that part is just treated as a literal instead of a macro variable. Can anyone shed some light on this?
Thanks