Droide
Droide

Reputation: 1859

Is it possible use a custom script to compile code eclipse?

I want compile my project using a .sh file. Now every time, I open my terminal, I go to my project's folder and run sh build.sh (it is the script with g++ etc etc)

How can I use the sh file inside eclipse?? Is it possible?

Upvotes: 3

Views: 1116

Answers (1)

Fred Larson
Fred Larson

Reputation: 62113

Open your project properties and select "C/C++ Build". Under the "Builder Settings" tab, select "External builder" in the "Builder type:" dropdown. Uncheck "Use default build command", and then enter your script name in "Build command:". That should do it.

Upvotes: 4

Related Questions