Home » Developing U++ » U++ Developers corner » Force blitz on a group of files
Force blitz on a group of files [message #13070] |
Sat, 08 December 2007 18:12  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
Is there a way to force BLITZ on a group of files ?
I'm building a large lib, and TheIDE keeps building each file one by one...
Ciao
Max
|
|
|
|
Re: Force blitz on a group of files [message #13076 is a reply to message #13075] |
Sun, 09 December 2007 12:29   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 09 December 2007 08:59 |
mdelfede wrote on Sat, 08 December 2007 12:12 | Is there a way to force BLITZ on a group of files ?
I'm building a large lib, and TheIDE keeps building each file one by one...
Ciao
Max
|
What exactly you mean by "force"?
Mirek
|
Well, I have 80 packages, each package has something between 30 and 100 source files on it.
I'd like to have them built with blitz, as now it takes too long.
Files have usually includes with guards, so it should go.... but molstly doesn't.
I tried also to change the date of one day earlier on source files, now it goes sometimes but with short group of files, and most of them are still build one by one.
on each source file did nothing (besides of a compiler warning).
Ciao
Max
|
|
|
|
Re: Force blitz on a group of files [message #13078 is a reply to message #13077] |
Sun, 09 December 2007 13:30  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 09 December 2007 12:55 | Are they .c or .cpp ?
Mirek
|
mostly .cxx, but also some .c
But now I'm facing with the problem of static duplicated symbols... those libs are not very well written.
I'd have also to change (automatically) all module-level static symbols to be unique.... and that's not too easy too.
BTW, I've already made some code that add namespace to sources (all are on global namespace and sometimes I've got problem with duplicated symbols...), but it clashes with blitz too.
For example, to keep things simple, I changed :
..............
#ifndef _an_include_h
#include <an_include.h>
#endif
...............
to :
namespace myspace {
..............
#ifndef _an_include_h
} // end namespace
#include <an_include.h>
namespace myspace {
#endif
..............
but I guess BLITZ checks for the include guard and disables itself. I'm afraid that I'd need a full source code parse to do all stuffs I need, and that's quite difficult and too time consuming for my purpose.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Sat May 10 18:25:30 CEST 2025
Total time taken to generate the page: 0.04798 seconds
|