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

Home » Public Forums » archive » Re: script for batch compiling
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: script for batch compiling [message #73522 is a reply to message #73520] Fri, 12 November 2010 14:31 Go to previous message
TonyL is currently offline  TonyL
Messages: 14
Registered: November 2008
Junior Member
On Nov 13, 9:13 am, chris <rog...@googlemail.com> wrote:
> Hi there,
> does anybody have a script or maybe an idea, how to compile, to
> resolve dependencies and to generate save files with the same name of
> the pro of an entire directory full of pro's?
>
> Thanks in advance
>
> CR

Try this...our key procedures have a 'dst' prefix in their names to
make it work..functions that are referred to inside those procedures
are resolved even those without the dst prefix.

;+
; Build script for Decision Support Tool (DST)
;-

.full

sourceFiles = FILE_SEARCH('dst*.pro')

sourceFiles = FILE_BASENAME(sourceFiles, '.pro')

nFiles = N_ELEMENTS(sourceFiles)

FOR iFile = 0, nFiles-1 DO RESOLVE_ROUTINE, sourceFiles[iFile], /
Either, /Compile_full_file

RESOLVE_ALL

SAVE, /ROUTINES, /Compress, FILENAME='dst.sav'

Tony
[Message index]
 
Read Message
Read Message
Previous Topic: script for batch compiling
Next Topic: Re: display the angstrom symbol to the power of -1 in a widget_label

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

Current Time: Fri Oct 10 16:04:44 PDT 2025

Total time taken to generate the page: 1.59910 seconds