www.digitalmars.com         C & C++   DMDScript  

c++.command-line - -Uxyz

reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Still wanting this. Any chance ... ??? :-) 
Feb 26 2005
parent reply "Walter" <newshound digitalmars.com> writes:
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:cvrrkk$2bld$2 digitaldaemon.com...
 Still wanting this. Any chance ... ??? :-)

I don't really understand what it's good for.
Mar 21 2005
parent reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Well, I've recently made a very handy makefile maker - tmpl2make.py - that
takes a 
make template and expands it for a suite of C/C++ compilers. (It's not C/C++ 
specific. It could work for any type of thing; not even makefiles, in fact)

DMC++'s absence of -U stands out quite a bit, and, although not terminal,
causes a 
bit of extra hassle that could well be done without. But I recognise that a 
clamouring cloud of 1 probably isn't going to change your mind. ;)

"Walter" <newshound digitalmars.com> wrote in message 
news:d1o8u4$1inr$1 digitaldaemon.com...
 "Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
 news:cvrrkk$2bld$2 digitaldaemon.com...
 Still wanting this. Any chance ... ??? :-)

I don't really understand what it's good for.

Mar 22 2005
next sibling parent reply "Włodzimierz Skiba" <abx abx.art.pl> writes:
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in
news:d1or3j$27jf$1 digitaldaemon.com: 

 Well, I've recently made a very handy makefile maker - tmpl2make.py -
 that takes a make template and expands it for a suite of C/C++
 compilers.

I do not know if this is of any iterest for you but there is a tool written in python: Bakefile which does exactly this: bakes native makefiles from a platform independant specification. It supports both make tools of DMC fine plus: VC makefile, VC project files, embeddedVC project files, Borland makefiles, Watcom makefiles, MinGW makefiles, GNU makefiles, autoconf, CBuilderX and more formats under development. I hope that could save you some work. http://bakefile.sourceforge.net Regards, ABX
Mar 22 2005
parent "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
"Włodzimierz Skiba" <abx abx.art.pl> wrote in message 
news:d1pc4o$2pmn$1 digitaldaemon.com...
 "Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in
 news:d1or3j$27jf$1 digitaldaemon.com:

 Well, I've recently made a very handy makefile maker - tmpl2make.py -
 that takes a make template and expands it for a suite of C/C++
 compilers.

I do not know if this is of any iterest for you but there is a tool written in python: Bakefile which does exactly this: bakes native makefiles from a platform independant specification. It supports both make tools of DMC fine plus: VC makefile, VC project files, embeddedVC project files, Borland makefiles, Watcom makefiles, MinGW makefiles, GNU makefiles, autoconf, CBuilderX and more formats under development. I hope that could save you some work. http://bakefile.sourceforge.net

Wow. It's huge! Mine's just a single python file, that takes a template and an XML tools file. Maybe when I've got time I'll play with bakefile, though. It could be really cool. Thanks Matthew
Mar 22 2005
prev sibling parent "Walter" <newshound digitalmars.com> writes:
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:d1or3j$27jf$1 digitaldaemon.com...
 Well, I've recently made a very handy makefile maker - tmpl2make.py - that

 make template and expands it for a suite of C/C++ compilers. (It's not

 specific. It could work for any type of thing; not even makefiles, in

 DMC++'s absence of -U stands out quite a bit, and, although not terminal,

 bit of extra hassle that could well be done without. But I recognise that

 clamouring cloud of 1 probably isn't going to change your mind. ;)

You're the first in about 20 years to ask for it, which is why, despite it being a common compiler feature, I question what it's good for. (Despite nobody being shy about asking for compiler features they need!) DMC does have the -u switch which prevents any of the predefined macros from being defined.
Mar 22 2005