Page 1 of 1

Autoconf/Automake support

Posted: Wed Jan 06, 2010 5:59 pm
by Martijn
First, congratulations to Eran for creating this masterpiece. I currently use it on Linux, OS-X and Windows (Easier using a virtual machine than cross-compiling).

At work I am coding with NS2 (a network simulator), which uses autoconf/automake. I wanted a better editor than vi, so people suggested Eclipse. Stubborn as I am I tried CodeLite.

It was as simple as creating a new workspace, adding a new project. Setting the build commands (build -> make, clean -> make clean), importing all the C/H files under the root-directory and set it of to compile.

Since the compile lines of NS2 are a bit long, you just see the same line repeated in the compile-window, but it works. It took less than 2 minutes (1min 50s) and now I am a happy camper.

As an idea/request: Add a existing makefile importer, which does just that:
1. set the default build commands (make, make clean)
2. imports (or asks to import) all the C/H files under the root.

Again, congratulations and happy Newyear,
Martijn

Re: Autoconf/Automake support

Posted: Wed Jan 06, 2010 6:43 pm
by eranif
Martijn wrote:Since the compile lines of NS2 are a bit long, you just see the same line repeated in the compile-window, but it works
There is a little green arrow on the right side of the build tab with tooltip "Word Wrap" click it, and you will be able to see the entire line
Martijn wrote:As an idea/request: Add a existing makefile importer, which does just that:
1. set the default build commands (make, make clean)
When creating new project, select in the project category the option 'Others'
and select "custom makefile"

this will produce an empty project with "custom build" enabled with commands set to make, and make clean

Eran

Re: Autoconf/Automake support

Posted: Thu Jan 07, 2010 2:13 am
by Martijn
Just after posting I saw that green arrow thing.

I did not know about the Project Other option, so I guess I am a happy camper.

Thanks,
Martijn