www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - eclipse - adding custom flags to dmd when compiling

reply "Benji" <romanbeno273 gmail.com> writes:
I want to compile file 'main.d' within Eclipse by following way:
   dmd ~/main.d -L-lcurl

How to achieve that?
By default, Eclipse compiles it without -L-lcurl flag.
Dec 15 2013
parent Mike Parker <aldacron gmail.com> writes:
On 12/15/2013 9:01 PM, Benji wrote:
 I want to compile file 'main.d' within Eclipse by following way:
    dmd ~/main.d -L-lcurl

 How to achieve that?
 By default, Eclipse compiles it without -L-lcurl flag.
You should be able to configure that by going to Project->Properties in the menu, or right-clicking the project and selecting Properties from the popup menu.
Dec 15 2013