www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How make DMD auto link imported modules?

reply Marcone <marcone email.com> writes:
When I create a module, for exemple mymodule.d and import im my 
main program using "import mymodule" I need add mymodule.d in DMD 
command line manually. How can make it automatic?
Apr 21 2020
parent Adam D. Ruppe <destructionator gmail.com> writes:
On Tuesday, 21 April 2020 at 21:36:57 UTC, Marcone wrote:
 When I create a module, for exemple mymodule.d and import im my 
 main program using "import mymodule" I need add mymodule.d in 
 DMD command line manually. How can make it automatic?
dmd -i
Apr 21 2020