Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 117994 - We need a way to ./configure from within the project...
Summary: We need a way to ./configure from within the project...
Status: RESOLVED DUPLICATE of bug 29757
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.0.1   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 00:20 EST by Kim Lux CLA
Modified: 2007-06-01 11:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Lux CLA 2005-11-25 00:20:18 EST
I am working on a big standard make project.  I build it a couple ways depending on what I am testing.  I run ./configure each time with options.  I need a way to easily do this from within Eclipse.  Adding it to the build objects would be great.
Comment 1 Doug Schaefer CLA 2005-11-25 10:33:19 EST
Did you try making an external tool to call the configure script?
Comment 2 Kim Lux CLA 2005-11-25 12:11:24 EST
Of course one could make a script and call it via the external tools.

It would actually be very nice if the make stuff was like the build/debug in that one could have multiple make objects, each with their own settings, including the configs.  I need to frequently configure/make/run and debug the same project multiple ways.  Right now I can do that via external configure scripts, but it would be much nicer if I could select a make object (sdcc-plain or sdcc-nohc08, etc.) and Eclipse took care of everything automatically, including the configure. 

Kdevelop does this sort of thing and it is a real nice feature. 

I still love Eclipse.   
Comment 3 Kim Lux CLA 2005-11-25 12:47:54 EST
I set up configure as an external tool.  It worked the first time, but the second time I run it, it somehow invokes "make all". 

Running ./configure from the command line doesn't do this.

I DO NOT have Refresh Upon Completion enabled.  See image.
Comment 4 Kim Lux CLA 2005-11-25 14:20:00 EST
See 118091.  I think make gets called a lot when it shouldn't.  It is getting called before a run too. 
Comment 5 Chris Recoskie CLA 2007-06-01 11:08:11 EDT
Really to do this right we need proper autotools support.

*** This bug has been marked as a duplicate of bug 29757 ***
Comment 6 Doug Schaefer CLA 2007-06-01 11:57:14 EDT
Or just create an External Tool that calls configure with the right arguments.