ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
Re: [C++-sig] Re: Pyste bug - static member functions...
by Nicodemus other posts by this author
Jun 18 2003 2:03AM messages near this date
Re: [C++-sig] Re: Pyste bug - static member functions... | [C++-sig] Re: Pyste bug - static member functions...
Roman Sulzhyk wrote:

> --- Nicodemus <nicodemus@[...].br> wrote:
>   
> 
> >What about my suggestion about --xml-dir?
> >    
> >
> Well, directory is fine also, however in my example passing and mapping
> of pre-generated files to header files is explicit, hence build system
> is responsible for checking appropriate expirations and re-generating
> files as required. If pyste is to look them up implicitely in the
> xml-cache directory, it's harder to communicate when they become
> outdated. I basically approached it from the perspective that build
> system knows better about dependencies between files and when something
> needs to be refreshed.
>   
> 

 From my experience with SCons, it would actually simpler the other way. 
You make your build system generate the gccxml files and the pyste 
files. Whenever a header changes, the related gccxml file will be 
rebuilt, and consequently the pyste file will be rebuilt also. With 
--cache, you would have to make your build system generate the command 
line with the dictionary-like syntax, which I believe would be more 
complicated than a static command line "python pyste.py --module=foo 
--xml-dir=xml-cache bar.pyste bah.pyste"?

> However, maybe it's an overcomplication :) Either way is fine with me.
> 

I think --xml-dir is a better solution, unless I am missing something, 
in which case I would be thankful if you could enlighten me. 8)


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
David Abrahams
David Abrahams
Brett Calcott
Brett Calcott
David Abrahams
Brett Calcott
Brett Calcott
Joel de Guzman
David Abrahams
David Abrahams
Dirk Gerrits
David Abrahams
David Abrahams
Brett Calcott
Joel de Guzman
Nicodemus
David Abrahams
Roman Sulzhyk
David Abrahams
Nicodemus
Roman Sulzhyk
Nicodemus
David Abrahams
Nicodemus
Roman Sulzhyk
Nicodemus
Roman Sulzhyk
Nicodemus
David Abrahams
Nicodemus
Roman Sulzhyk
Ralf W. Grosse-Kunstleve
Nicodemus

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved