Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Managed build plugin and another compiler
Managed build plugin and another compiler [message #92977] Thu, 29 January 2004 20:56 Go to next message
Eclipse UserFriend
Originally posted by: sark7.mail333.com

Hi.

I want to create plugin for D language (www.digitalmars.com/d/) over the
CDT functionality. I try to make CDT Managed Build System extension
plugin, but with my target in new CDT project, main makefile is generating
not correctly:

Instead of

Test.exe: $(OBJS)
dmd $@ $(OBJS) $(USER_OBJS) $(LIBS)

it generate:

null null $@ $(OBJS) $(USER_OBJS) $(LIBS)

but in subdir makefile (subdir.mk) CDT all is ok.

And, can I change the

OBJS = $(C_SRCS:$(ROOT)/%.c=%.o) $(CC_SRCS:$(ROOT)/%.cc=%.o)
$(CXX_SRCS:$(ROOT)/%.cxx=%.o) $(CAPC_SRCS:$(ROOT)/%.C=%.o)
$(CPP_SRCS:$(ROOT)/%.cpp=%.o)

to something more usable for me, or add /%.d=%.obj to this string?

--
Sark7
Re: Managed build plugin and another compiler [message #93022 is a reply to message #92977] Fri, 30 January 2004 10:32 Go to previous message
Eclipse UserFriend
The managed build uses the extension of the build goal to try and find
the tool you specified. Make sure there is a tool that has "exe" as an
output. If you have already done this and it is still not working, let
me know and we'll see what we can do to solve it.

Unfortunately, the answer to your second question is no. I will think
about how a toolchain contributor can extend the list of source macros
for the next release.

Sean

Sark7 wrote:
> Hi.
>
> I want to create plugin for D language (www.digitalmars.com/d/) over the
> CDT functionality. I try to make CDT Managed Build System extension
> plugin, but with my target in new CDT project, main makefile is
> generating not correctly:
>
> Instead of
>
> Test.exe: $(OBJS)
> dmd $@ $(OBJS) $(USER_OBJS) $(LIBS)
>
> it generate:
>
> null null $@ $(OBJS) $(USER_OBJS) $(LIBS)
>
> but in subdir makefile (subdir.mk) CDT all is ok.
>
> And, can I change the
>
> OBJS = $(C_SRCS:$(ROOT)/%.c=%.o) $(CC_SRCS:$(ROOT)/%.cc=%.o)
> $(CXX_SRCS:$(ROOT)/%.cxx=%.o) $(CAPC_SRCS:$(ROOT)/%.C=%.o)
> $(CPP_SRCS:$(ROOT)/%.cpp=%.o)
>
> to something more usable for me, or add /%.d=%.obj to this string?
>
> --
> Sark7
Previous Topic:VCL conversion
Next Topic:Great features expected
Goto Forum:
  


Current Time: Thu Jul 17 23:54:55 EDT 2025

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

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

Back to the top