News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Rebuild workspace

Started by czerny, May 30, 2013, 07:05:59 PM

Previous topic - Next topic

czerny

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.

frankie

Have you set projects dependencies?
It is im Project->workspace->dependencies...
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

czerny

Quote from: frankie on May 30, 2013, 10:26:46 PM
Have you set projects dependencies?
It is im Project->workspace->dependencies...
Ahh! Very nice!
Just learned something new.