Compile time executable calling?

Tofu Ninja emmons0 at purdue.edu
Wed Jan 8 14:29:03 PST 2014


On Wednesday, 8 January 2014 at 22:01:56 UTC, Brian Schott wrote:
> Just make your makefile run the script, pipe its output to a 
> file, and do a string import of the generated file.

The kind of stuff I want to use it for would make that tactic 
tedious and error prone. I would use it like how ctfe is used now.

Having multiple points in the source(maybe hundreds) that would 
call out to a external program at compile time but pass out 
different args. Relying on a makefile to do something like this 
would require me to keep the makefile and the source code 
constantly in sync and would become a problem before long.


More information about the Digitalmars-d mailing list