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

Home » Public Forums » archive » Re: Nice ways to compile
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: Nice ways to compile [message #43410 is a reply to message #43408] Mon, 11 April 2005 11:42 Go to previous messageGo to previous message
mmiller3 is currently offline  mmiller3
Messages: 81
Registered: January 2002
Member
I make save files by creating an idl script that compiles all the
codes that my application uses (or at least those that I can
remember!). I include resolve_all and resolve_all, /class for
all the classes that I need. Then I do a save and exit. So
making a save set is just a command like "idl make_save_file.pro"
(see below). This has all the elegance of makefile that is
maintained by hand, which is to say, very little. I've
considered trying to make a preprocessor that creates header
files so I can use makedepend. If incremental compilation were
possible (that is, loading compiled code, instead of having to
compile in order to make code available), that would be useful,
but with IDL, it doesn't seem neccessary.

Usually I create my make_save_file.pro's from listings of all the
*.pro files in the directories where I know I've got code
components for a given application. That makes save files with
cruft that is never used, but it hasn't (yet) left me with
anything missing.

Mike



;; make_save_file.pro
.compile first_file
.compile second_file
.compile third_file
;; ...more here as needed...
.compile last_file

.compile main

resolve_all
resolve_all, class=['med_imageobj', $
'registered_med_imageobj',$
'indypet_kinetics', $
'ipvis_kinetics', $
'showprogress' $
]

save, /routines, filename='main.sav'

exit
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Segmentation fault with IDL 5.5 + Debian Testing/Unstable
Next Topic: Nice ways to compile

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

Current Time: Fri Oct 10 14:45:51 PDT 2025

Total time taken to generate the page: 1.18625 seconds