Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Building Make Target
Building Make Target [message #155145] Tue, 27 September 2005 17:09 Go to next message
Eclipse UserFriend
Originally posted by: andrmeyer.gmx.de

Hi,

I'm using the "Standard Make C++ Project" option with Eclipse 3.1 and CDT.
My problem is that I want to compile just one program from a project.
("make program_x" from the command line). I discovered the following
possibilities so far:
- "Create Make Target" and use "Build Make Target" every time. This isn't
optimal since I can't use hotkeys to build.
- change target "all" in my Makefile to my program. after this I can use
"Build All" and the corresponding hotkey. But since I work on a subversion
project I like to leave the makefile unchanged

So, is there any possibility in Eclipse to achieve the second
functionality without changing the Makefile?

best regards,
André
Re: Building Make Target [message #155239 is a reply to message #155145] Wed, 28 September 2005 11:00 Go to previous message
Klaus Falser is currently offline Klaus FalserFriend
Messages: 22
Registered: July 2009
Junior Member
In article <cb7cf226818a797a720feebfe75c2a8f$1@www.eclipse.org>,
andrmeyer@gmx.de says...
> Hi,
>
> I'm using the "Standard Make C++ Project" option with Eclipse 3.1 and CDT..
> My problem is that I want to compile just one program from a project.
> ("make program_x" from the command line). I discovered the following
> possibilities so far:
> - "Create Make Target" and use "Build Make Target" every time. This isn't
> optimal since I can't use hotkeys to build.
> - change target "all" in my Makefile to my program. after this I can use
> "Build All" and the corresponding hotkey. But since I work on a subversion
> project I like to leave the makefile unchanged
>
> So, is there any possibility in Eclipse to achieve the second
> functionality without changing the Makefile?
>
> best regards,
> André
>
>
Go to the properties of your project and open the "C/C++ Make Project"
page.
On the "Make Builder" sheet you can specify which target the workbench
will (re)build. Enter your target "programm_x" instead of "all".

Best regards
Klaus
Previous Topic:Still cannot exclude directories from manged build
Next Topic:Can create project
Goto Forum:
  


Current Time: Sun Oct 06 08:10:39 GMT 2024

Powered by FUDForum. Page generated in 0.02468 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top