www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How send parameters to DMD when using DUB

reply Marcone <marcone email.com> writes:
I need add resources. But how can I make it using DUB?
Apr 19 2021
parent reply Marcone <marcone email.com> writes:
I'm trying this code but do not work.

/+ dub.sdl:
    dependency "telega" version="~>0.2.0"
    dflags "C:\\Users\\Usuario\\Arquivos\\Sublime Text Build 
3211\\Data\\Packages\\resources.res" platform="dmd"
+/
Apr 19 2021
parent Marcone <marcone email.com> writes:
/+ dub.sdl:
    dependency "telega" version="~>0.2.0"
    lflags "C:\\Users\\Usuario\\Arquivos\\Sublime Text Build 
3211\\Data\\Packages\\resources.res" platform="dmd"
+/

Solved replaceing dflags to lflags
Apr 19 2021