[CMake] Out of source latex build

2009-10-26 Thread christophe laferriere
Hi All, I'm trying to add a rules to my latex build (included in a bigger project) so that a .sty file is copied in the current_binary_dir. I've tried several things but can't get the .sty file copied in the build directory, latex complain about it when i try make. Any help would be

Re: [CMake] Out of source latex build

2009-10-26 Thread Moreland, Kenneth
Consider using the UseLATEX.cmake collection of macros. It supports out-of-source builds (in fact, sort of enforces them) and handles copying .sty files as well as all sorts of other sticky little issues with building LaTeX files. You can the macros and the documentation for them on this Wiki

Re: [CMake] Out of source latex build

2009-10-26 Thread James C. Sutherland
On Oct 26, 2009, at 8:13 AM, Moreland, Kenneth wrote: Consider using the UseLATEX.cmake collection of macros. It supports out-of-source builds (in fact, sort of enforces them) and handles copying .sty files as well as all sorts of other sticky little issues with building LaTeX files. You

Re: [CMake] Out of source latex build

2009-10-26 Thread Moreland, Kenneth
shrug / I never really pursued it. I don't know if packaging UseLATEX.cmake with CMake is the right thing to do, but if that's what users want and the CMake developers agree, I have no problem with putting it there. -Ken On 10/26/09 11:40 AM, James C. Sutherland james.sutherl...@utah.edu