Managed build plugin and another compiler [message #92977] |
Thu, 29 January 2004 20:56  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.89649 seconds