How to get name of my application (project)
Rémy Mouëza
remy.moueza at gmail.com
Sat Aug 3 11:47:33 UTC 2019
On Saturday, 3 August 2019 at 09:26:03 UTC, 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__?
If I understand the question correctly, you are looking for
std.file.thisExePath:
- http://dpldocs.info/experimental-docs/std.file.thisExePath.html
- https://dlang.org/phobos/std_file.html#thisExePath
More information about the Digitalmars-d-learn
mailing list