Re: CM questions

John Reppy <[email protected]> Sat, 3 Feb 2007 10:52:02 -0600
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
On Feb 3, 2007, at 10:45 AM, Geoffrey Alan Washburn wrote:

> A few things I haven't been able to decipher from the CM manual.   
> If you
> have any ideas, let me know.  Thanks!
>
> 1. Is there a way to have CM.make/ml-build invoke some pre/post code
> when building some foo.cm?  There is the setup parameter for the sml
> class, but that would appear to only apply to a single file.

Matthias will have to answer this one.

>
> 2. Is there a way to get sml/CM to behave like just about any other
> compiler whereby I can compile each file individually, and then link,
> from another build tool?  There is ml-makedepend, but this seems to  
> only
> generate the information that make or some other tool could use to
> determine when it should run ml-build.

I don't think so.  SML/NJ doesn't really have a true batch mode where
it can compile a single file (I guess you could fake it with on CM
file per source file).

	- John

>
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642