[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] how to build multi level targets ?
|
> >
> > Create 20 projects ins't quicker than creating 20 Make Target ?
> >
> > Have you anything more efficient ?
> >
>
> Not particulary, Eclipse does not allow subprojects(projects within
> projects).
> Maybe you can bring your case to the Eclipse platform case.
>
Or write a "Super"-Makefile in your project root, which calls all Makefiles
in each of your subdirectories in your project.
project
+--- proj1
+--- proj2
+--- proj3
-----------
MAKE := make
.PHONY all debug clean proj1 proj2 proj3
TARGETS := proj1 proj2 proj3
all : $(TARGETS)
debug : $(TARGETS)
clean : $(TARGETS)
proj1:
<TAB>$(MAKE) -C $@ $(MAKECMDGOALS)
proj2:
<TAB>$(MAKE) -C $@ $(MAKECMDGOALS)
proj3:
<TAB>$(MAKE) -C $@ $(MAKECMDGOALS)
proj4:
<TAB>$(MAKE) -C $@ $(MAKECMDGOALS)
-------
> >
> > -----Message d'origine-----
> > De : Alain Magloire [mailto:alain@xxxxxxx]
> > Envoy=E9 : jeudi 25 novembre 2004 20:52
> > =C0 : cdt-dev@xxxxxxxxxxx
> > Objet : Re: [cdt-dev] how to build multi level targets ?
> >
> >
> > >=20
> > > Hello,
> > > =3D20
> > > I run Eclipse 3.0.1, CDT 2.0.2, RH ES V3.0 GTK installation.
> > > =3D20
> > > I have under one project, more than 20 directories with for each =3D
> > > directory
> > > some source files and a makefile.
> > > How can I build the particular current library of my current =
> > directory,
> > > without creating 20 Make targets by the gui ?
> > > =3D20
> > > Could you help me to get the possibility to build the library on =
> > which =3D
> > > I
> > > work without creating a target ?
> >
> > Make each directory a project.
> >
> >
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
>
--
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++