I've been able to set the source directory using the Project Options to
../src1/src2/scr3 (see below).
The generated code was placed in the project/src1/src2/src3 directory.
However, the location of
the sources must be specified in the Makefile to generate the executable.

 <<...OLE_Obj...>> 
Cheers.....
Rick Esquibel
Embedded Software/Engineer
5000 E. McDowell Road
Mesa, AZ 85215-9797
(480) 891-8423
[EMAIL PROTECTED]

> ----------
> From:         Ralf Corsepius[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Wednesday, February 07, 2001 12:34 AM
> To:   Andrae Muys
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: [Glade-devel] Deep srcdirs
> 
> Andrae Muys wrote:
> > 
> > Ralf Corsepius wrote:
> > > Andrae Muys wrote:
> > > > Ralf Corsepius wrote:
> > > > > Is there any particular reason why glade disallows using deep
> > > > > directories for directory glade generates its sources into?
> > > > What do you mean by "deep directories"?
> > > Setting the source directory (the directory glade generates code
> > > into) more than one level deep.
> > > eg. foo/bar
> > 
> > Ahh I mis-understood what you meant.  Disregard everything else I wrote
> > there, it ceases to have any meaning due to my mistake.
> > 
> > > >  Glade dosn't use sub-dirs under
> > > > the <project>/src dir,
> > > The project options-dialog accept such directories, but the code
> > > generation (eg. the build button) later barfs on them:
> > >
> > > # Invalid source directory:
> > > #
> > > # The source directory must be the project directory
> > > # or a subdirectory of the project directory.
> > 
> > I don't personally use the source generation function of Glade, so I'm
> > unfamiliar with that part of the code.  Sounds like a bug to me though.
> > However at the same time, as glade generates various admin files
> > (automake/autoconf/etc) I suspect it might not be as simple a bug to fix
> > as it first appears.
> 
> That's exactly why I am asking. Implementing the automake/autoconf
> related parts is not actually difficult, but there might be other
> reasons for not supporting deep source directories that I am not
> aware of.
> 
> Ralf
> 
> _______________________________________________
> Glade-devel maillist  -  [EMAIL PROTECTED]
> http://lists.helixcode.com/mailman/listinfo/glade-devel
> 

_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to