Get fils at compile-time

bauss via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 14 12:48:57 PST 2016


On Wednesday, 14 December 2016 at 20:47:23 UTC, bauss (wtf 
happend to my name took some old cached title LOL??) wrote:
> Is there a way to get all files in a folder at compile-time.
>
> To be more specific I want to import the content of all files 
> within a specific folder during compile-time. I know how to do 
> it with a specific file using `import("filename")`, but what if 
> I wanted to do it at compile-time for all files in a folder 
> then loop through those files and handle their content.
>
> [...]

Also excuse me for the title. It's supposed to be "files"



More information about the Digitalmars-d-learn mailing list