How to get name of my application (project)

James Blachly james.blachly at
Sat Aug 3 15:00:12 UTC 2019

On 8/3/19 5:26 AM, Andrey wrote:
> Hello, how to get name of my application (project) that we write in 
> dub.json? Is there any compile-time constant like __MODULE__?

Dear Andrey:

Perhaps this is similar to what you are looking for:


These are available at compile time.  Kind regards.

More information about the Digitalmars-d-learn mailing list