How to build a package as application ?
guiguidu60
guillaume.leopold at pm.me
Tue Jul 2 14:49:49 UTC 2019
On Tuesday, 2 July 2019 at 10:43:08 UTC, Andre Pany wrote:
> On Tuesday, 2 July 2019 at 08:50:36 UTC, guiguidu60 wrote:
>> I'm a newbie with D language, and my first problem ever is:
>>
>> I have a hello world program build with DUB on Linux, but the
>> program as marked as "application/x-sharedlib" and not
>> "application/x-executable" (in properties of the file): so, I
>> can't able to execute the program from the file explorer (need
>> to do ./helloworld within a terminal).
>
> Executable is automatically chosen if you have a source code
> file with name "app.d".
> Otherwise set targetType to executable in your dub.json.
>
> Kind regards
> André
It doesn't work...
Who decide if a file is an application or a sharedlib ?
More information about the Digitalmars-d-learn
mailing list