How can I compile an individual module?

Asked by Karsten Klagges on 2009-01-16

The complete openWNS contains a huge amount of libraries and modules. The compile process takes a lot of time and I don't want to wait for the completion of the whole openWNS. Instead I only want to compile the single module or library I am currently working on.

Question information

Language:
English Edit question
Status:
Solved
For:
openWNS SDK Edit question
Assignee:
No assignee Edit question
Solved by:
Jan
Solved:
2009-01-23
Last query:
2009-01-23
Last reply:
2009-01-20
Best Jan (jan-ellenbeck) said : #1

You can tell scons to search up the directory tree and build that specific target again. Assuming you want to recompile the openWNS library "libwns" in framework/library, you could say:

jan@nepomuk:/data/jan/openwns-sdk/framework/library$ scons -U ../../sandbox/dbg/lib/libwns.so

Thanks Jan, that solved my question.