DlangUI project update

Basile Burg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jan 21 11:28:31 PST 2015


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 at 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.



More information about the Digitalmars-d-announce mailing list