Take a look at the configure.py script of the PyQwt library. If I have properly understood the way it works, it takes care of that problem creating a temporary directory copying the files that have actually changed.

Look for the lazy_copy_file method in:

http://pyqwt.cvs.sourceforge.net/viewvc/pyqwt/pyqwt5/configure/configure.py?revision=1.45&view=markup

Armando

Quoting Jens Thoms Toerring <[email protected]>:

Hi,

   I have a SIP wrapper for a C++ library, consisting of
about 60 .sip files. Things work quite well, but I have
an issue with the process of creating the wrapper library.
I use an (a bit adapted) configure script like it is shown
in the documentation.

The problem is that each small change to any of the .sip
files requires a rebuilt of each and every file. I have
a "central" .sip file that includes all the others. And
when I change any of those files and thus need to run
the configure script all .cpp files are created anew.
And then, of course, they're newer than the correspon-
ding .o file and make will recompile all of them. That
takes around 5 minutes and really slows development down.
So I am looking for a way to tell sip to not re-create
.cpp files when they aren't older than the correspon-
ding .sip file or anything equivalent. Any ideas how
to get this done?
                    Thanks and best regards, Jens
--
  \   Jens Thoms Toerring  ________      [email protected]
   \_______________________________      http://toerring.de
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt



_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to