Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to next message
mdelfede is currently offline  mdelfede
Messages: 1307
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 #13075 is a reply to message #13070] Sun, 09 December 2007 08:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
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
Re: Force blitz on a group of files [message #13076 is a reply to message #13075] Sun, 09 December 2007 12:29 Go to previous messageGo to next message
mdelfede is currently offline  mdelfede
Messages: 1307
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.
pragma blitz_approve

on each source file did nothing (besides of a compiler warning).

Ciao

Max
Re: Force blitz on a group of files [message #13077 is a reply to message #13076] Sun, 09 December 2007 12:55 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Are they .c or .cpp ?

Mirek
Re: Force blitz on a group of files [message #13078 is a reply to message #13077] Sun, 09 December 2007 13:30 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
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
Previous Topic: Interesting problem with setlocale
Next Topic: how to commit to bazaar on sourceforge?
Goto Forum:
  


Current Time: Thu Mar 28 17:34:00 CET 2024

Total time taken to generate the page: 0.00942 seconds