|
Gregoire Banderet
|
Link with static lib - Executable is not rebuilt
|
|
Gregoire Banderet
05/17/2011 8:20 AM
post85763
|
Link with static lib - Executable is not rebuilt
Hello,
I use Momentics and C/C++ project.
project 'L' genrates a static lib; libL.a
Then I have project 'E' which is an executable, 'E' links with libL.a.
The problem is that when I modify a CPP file inside 'L', and click on Build for project 'E', the E executable is not
recreated.
The libL.a is regenerated, because the project E references project L. But Momenetics does not rebuild E executable.
Is it a bug?
I do link E with libL.a by adding 1 line in the Additional object Files panel in project E properties. (see attachment)
Is it the right way to link with a static lib?
Thank you for your help,
Greg
|
|
|
|
|