thanks for the explanation. i hope you didnt feel offended. the uselatex.cmake 
is great. without that, i wouldn't even had a clue where to start :)

cheers,
keyan

On 18 Jan 2010, at 17:12, Moreland, Kenneth wrote:

> The reason the UseLATEX.cmake script copies files to the binary directory is 
> because the latex compiler has no equivalent to the –I flag.  It always looks 
> for files with respect to the directory in which the command was run.  Thus, 
> the easiest way to do an out-of-source build is to simply copy the source 
> over to the binary directory.  If the ML compiler has a way of specifying a 
> list of directories from which to find included files, you are much better 
> off compiling the original source file directly.
> 
> -Ken
> 
> 
> On 1/15/10 9:28 AM, "Keyan" <m...@pulsschlag.net> wrote:
> 
> > I have took a look at your UseOCaml script. I can't see why you copy ML 
> > files into the current binary dir before compiling them. Is there a reason ?
> 
> no. i copied most of the stuff from the UseLATEX.cmake. it was done so there, 
> and at the time i wrote the script, i thought its a good idea. don't ask me 
> why :)
> 
> 
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********  
> *** *** ***  email: kmo...@sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      web:   http://www.cs.unm.edu/~kmorel
> 

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to