On Wednesday, 21 January 2015 at 19:07:39 UTC, Vadim Lopatin
wrote:
On Wednesday, 21 January 2015 at 18:34:09 UTC, Basile Burg
wrote:
On Wednesday, 21 January 2015 at 18:23:09 UTC, ketmar via
Digitalmars-d-announce wrote:
On Wed, 21 Jan 2015 17:33:05 +0000
Vadim Lopatin via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> wrote:
Btw, does anyone know if it's possible to list files in
import directories in compile time (CTFE) to avoid manual
adding of file paths for every resource file?
nope, it's impossible. CTFE code can't interoperate with
environment.
mix:
(__FILE__.stripExtension.baseName) ~ ".res";
It's not suitable for unknown set of files.
It's suitable for an IDE: file.d, matching file.res, if it exists
then add a -J...no problem.