Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Removing project from Build All command
Removing project from Build All command [message #202201] Wed, 26 September 2007 02:44 Go to next message
Eclipse UserFriend
Originally posted by: mba.cosmigo.ru

Hi,

I've got two C++ projects, let's call them "Engine" and "Tool". "Engine"
is a set of sources we maintain to be used in other projects, but we
don't compile it to be any kind of library - we just use it as external
sources accessible via #include. On the other hand "Tool" is a normal
project which compiles to binary executable, it uses part of "Engine"
sources.

So I would like to have both projects open at the same time in Project
explorer. The problem is that i have neither Makefile for "Engine" nor
external build command fro it - because it should not be build at all.

I would like to use a "Build All" IDE command to build my "Tool" project
with "Engine" being opened at same time as well. But I don't like the
error messages I get for "Engine" project like "Exec error:Launching
failed" because of no build command is specified for it. Can I exclude
this project from "build all" or mark it somehow that is should not be
built?


--
Best regards
Mikhail Barg


ICQ: 132560784
Re: Removing project from Build All command [message #202210 is a reply to message #202201] Wed, 26 September 2007 09:38 Go to previous messageGo to next message
Eclipse UserFriend
Mikhail Barg wrote:

> I would like to use a "Build All" IDE command to build my "Tool" project
> with "Engine" being opened at same time as well. But I don't like the
> error messages I get for "Engine" project like "Exec error:Launching
> failed" because of no build command is specified for it. Can I exclude
> this project from "build all" or mark it somehow that is should not be
> built?

Why do you not provide a dummy Makefile (a single line "all:" in it should
be sufficient) or provide a special build command such as "true" (which does
nothing but reports success)?

Jens
Re: Removing project from Build All command [message #202219 is a reply to message #202210] Wed, 26 September 2007 10:14 Go to previous message
Eclipse UserFriend
Originally posted by: mba.cosmigo.ru

Hi Jens,

Thanks for the idea. I've come to dummy Makefile myself, but using of
"true" command seems more elegant to me.

Jens Seidel wrote:
> Mikhail Barg wrote:
>
>> I would like to use a "Build All" IDE command to build my "Tool" project
>> with "Engine" being opened at same time as well. But I don't like the
>> error messages I get for "Engine" project like "Exec error:Launching
>> failed" because of no build command is specified for it. Can I exclude
>> this project from "build all" or mark it somehow that is should not be
>> built?
>
> Why do you not provide a dummy Makefile (a single line "all:" in it should
> be sufficient) or provide a special build command such as "true" (which does
> nothing but reports success)?
>
> Jens

--
Best regards
Mikhail Barg


ICQ: 132560784
Previous Topic:CDT Help system
Next Topic:Exporting External Launch Configurations
Goto Forum:
  


Current Time: Mon May 12 01:34:19 EDT 2025

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

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

Back to the top