comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: compile all files in current path
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: compile all files in current path [message #22497] Fri, 17 November 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:

> I would suggest making a project file (in >5.3). Even if you name
> routines such that they don't autocompile, add them all to a .PRJ file
> and use "run project" or "compile modified...", and they will all
> compile. Besides, you cann add files that are not in the same directory,
> if you want to.

Uh, I would make sure you are using IDL 5.3.1. If you
use projects in IDL 5.3 you will find yourself
re-installing your trashed IDL distribution. :-)

Cheers,

David

P.S. I guess this is what you meant by ">5.3", Pavel.
But I wanted to make the point even stronger. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: compile all files in current path [message #22499 is a reply to message #22497] Fri, 17 November 2000 00:00 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I would suggest making a project file (in >5.3). Even if you name
routines such that they don't autocompile, add them all to a .PRJ file
and use "run project" or "compile modified...", and they will all
compile. Besides, you cann add files that are not in the same directory,
if you want to.

Cheers,
Pavel

Randall Skelton wrote:
>
> Hello,
>
> Thanks to all who answered my questions regarding passing BIG structures
> into IDL from C and include statements...
>
> My next question is, can I get IDL to compile all the .pro files I
> have in the local directory (i.e. .compile *.pro). At the moment, I have
> things hardwired, but it would be nice if didn't explicitly need to give
> exact filenames and pathes.
>
> Thanks
> Randall
Re: compile all files in current path [message #22510 is a reply to message #22497] Fri, 17 November 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Randall Skelton (rhskelto@atm.ox.ac.uk) writes:

> My next question is, can I get IDL to compile all the .pro files I
> have in the local directory (i.e. .compile *.pro). At the moment, I have
> things hardwired, but it would be nice if didn't explicitly need to give
> exact filenames and pathes.

Uh, Randall, I think you have been taking too many
FORTRAN classes. Seek the IDL way and there is no
need to compile. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL Bug? (Re: include files in IDL programs)
Next Topic: Re: structure__define

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:16:38 PDT 2025

Total time taken to generate the page: 0.00600 seconds