Pelles C forum

Pelles C => General discussions => Topic started by: czerny on May 30, 2013, 07:05:59 PM

Title: Rebuild workspace
Post by: czerny on May 30, 2013, 07:05:59 PM
I have a workspace with a lib, a dll and several executables which are linked against one of the libraries.

If I use the menu command 'rebuild workspace' in the project menu, the order of the build process does not account for the dependencies of the files. In my example the lib is compiled after the exe which use it for example. Btw. the compiling order does not match the order in the ppw.

This is confusing and problematic if not noticed by the user. Say you make changes in your lib and rebuild the workspace. Than the exe will be linked against the old lib and the lib is compiled afterwards.
Title: Re: Rebuild workspace
Post by: frankie on May 30, 2013, 10:26:46 PM
Have you set projects dependencies?
It is im Project->workspace->dependencies...
Title: Re: Rebuild workspace
Post by: czerny on June 01, 2013, 11:18:07 PM
Have you set projects dependencies?
It is im Project->workspace->dependencies...
Ahh! Very nice!
Just learned something new.