RE: [CMake] RE: UseLATEX.cmake macros

2006-04-27 Thread Moreland, Kenneth
> How could I tell cmake to default build pdf instead of dvi ? Add DEFAULT_PDF to the ADD_LATEX_DOCUMENT arguments. -Ken ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread Bertrand Jacquin
On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > And UseLATEX.cmake build dvi. I don't know how to tell him to > > don't build dvi files. > > Build the pdf target (make pdf). That will use pdflatex. How could I tell cmake to default build pdf instead of dvi ? -- Beber [EMAIL PROTECTE

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread Bertrand Jacquin
On 4/26/06, Bertrand Jacquin <[EMAIL PROTECTED]> wrote: > On 4/26/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > I extracted your files, ran CMake in the base directory, and got the > > following output: > > > > -- Check for working C compiler: gcc > > -- Check for working C compiler: gcc --

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread Bertrand Jacquin
sage- > > From: Bertrand Jacquin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 26, 2006 11:33 AM > > To: Moreland, Kenneth > > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > > Subject: Re: [CMake] RE: UseLATEX.cmake macros > > > > On 4/26/

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread Moreland, Kenneth
nal Message- > From: Bertrand Jacquin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 26, 2006 11:33 AM > To: Moreland, Kenneth > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > Subject: Re: [CMake] RE: UseLATEX.cmake macros > > On 4/26/06, Moreland, Ken

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread Bertrand Jacquin
gt; > > -Original Message- > > From: Bertrand Jacquin [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 25, 2006 4:03 PM > > To: Moreland, Kenneth > > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > > Subject: Re: [CMake] RE: UseLATEX.

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread Moreland, Kenneth
> To: Moreland, Kenneth > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > Subject: Re: [CMake] RE: UseLATEX.cmake macros > > On 4/26/06, kmorel <[EMAIL PROTECTED]> wrote: > > Like I said, that same code worked fine for me. What > platform are you > > runn

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-26 Thread David Cole
Why are you setting "CMAKE_CURRENT_BINARY_DIR"? CMake sets that variable for you... Does the same thing happen if you take out the SET(CMAKE_CURRENT_BINARY_DIR... line? Bertrand Jacquin wrote: On 4/21/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: I got the CMakeLists.txt in question

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-25 Thread Bertrand Jacquin
On 4/26/06, kmorel <[EMAIL PROTECTED]> wrote: > Like I said, that same code worked fine for me. What platform are you > running on? ~/pfe/docs/cahier_des_charges % uname -a Linux meathook 2.6.16-gentoo-r2 #6 PREEMPT Thu Apr 20 19:27:38 CEST 2006 x86_64 AMD Athlon(tm) 64 Processor 3200+ GNU/Linux

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-25 Thread kmorel
Like I said, that same code worked fine for me. What platform are you running on? -Ken On 4/25/06 3:58 PM, "Bertrand Jacquin" <[EMAIL PROTECTED]> wrote: > On 4/21/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: I got the CMakeLists.txt in question and tried it out. Apart from >>> a

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-25 Thread Bertrand Jacquin
On 4/21/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > >I got the > > > CMakeLists.txt in question and tried it out. Apart from > > adding the > > >.cmake extension to the file in the INCLUDE command, > > everything worked > > >fine. > > > > If a add .cmake to extension, cmake try to find a

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-21 Thread Moreland, Kenneth
> >I got the > > CMakeLists.txt in question and tried it out. Apart from > adding the > >.cmake extension to the file in the INCLUDE command, > everything worked > >fine. > > If a add .cmake to extension, cmake try to find a file called > UseLATEX.cmake.cmake. So, I trashed it. I see. Yo

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-21 Thread Bertrand Jacquin
On 4/21/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > Maybe could you it to me. Maybe a wiki malformation ? > > I've attached the file. Thanks, I can't try here. Will reply in next days. > > > Did you go there : > > http://guybrush.ath.cx/gitweb/?p=school/PFE.git;a=tree;h=bj/cm > ake;hb=bj

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-21 Thread Moreland, Kenneth
> Maybe could you it to me. Maybe a wiki malformation ? I've attached the file. > Did you go there : > http://guybrush.ath.cx/gitweb/?p=school/PFE.git;a=tree;h=bj/cm ake;hb=bj/cmake That's a slightly different link than you sent before. I got the CMakeLists.txt in question and tried it out. Ap

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-20 Thread Bertrand Jacquin
gt; -Ken > > > -Original Message- > From: Bertrand Jacquin [mailto:[EMAIL PROTECTED] > Sent: Thu 4/20/2006 11:58 AM > To: Moreland, Kenneth > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > Subject: Re: [CMake] RE: UseLATEX.cmake macros > > On 4/20

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-20 Thread Moreland, Kenneth
Title: RE: [CMake] RE: UseLATEX.cmake macros Well, I am at a loss as to what your problem can be.  I am using the same version of cmake and have successfully used UseLATEX.cmake on two different platforms. Furthermore, the first two errors that you are getting are in part of UseLATEX.cmake

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-20 Thread Bertrand Jacquin
TECTED] > > Sent: Thursday, April 20, 2006 9:36 AM > > To: Moreland, Kenneth > > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > > Subject: Re: [CMake] RE: UseLATEX.cmake macros > > > > On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: >

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-20 Thread Bertrand Jacquin
On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > Beber, > > I've posted an update for UseLATEX.cmake on the Wiki that should fix > your problem. Let me know if you have other issues. Thanks, But ... cmake failed : ~/pfe-cmake % cmake . -- Check for working C compiler: gcc -- Check for

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-20 Thread Moreland, Kenneth
What version of CMake are you using? -Ken > -Original Message- > From: Bertrand Jacquin [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 20, 2006 9:36 AM > To: Moreland, Kenneth > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > Subject: Re: [CMake] RE

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-19 Thread Moreland, Kenneth
th > Cc: Bertrand Jacquin; cmake@cmake.org; else-devel@gna.org > Subject: Re: [CMake] RE: UseLATEX.cmake macros > > On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > > > > And UseLATEX.cmake build dvi. I don't know how to tell > > > him t

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-19 Thread Bertrand Jacquin
On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > > > And UseLATEX.cmake build dvi. I don't know how to tell > > him to don't > > > > build dvi files. > > > > > > Build the pdf target (make pdf). That will use pdflatex. > > > > It doesn't work here. > > > > ~/tmp/PFE % make pdf > > Buil

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-19 Thread Moreland, Kenneth
> > > And UseLATEX.cmake build dvi. I don't know how to tell > him to don't > > > build dvi files. > > > > Build the pdf target (make pdf). That will use pdflatex. > > It doesn't work here. > > ~/tmp/PFE % make pdf > Building image files for ps documents. > -- Check for working C compiler: gcc

Re: [CMake] RE: UseLATEX.cmake macros

2006-04-19 Thread Bertrand Jacquin
On 4/19/06, Moreland, Kenneth <[EMAIL PROTECTED]> wrote: > > And UseLATEX.cmake build dvi. I don't know how to tell him to > > don't build dvi files. > > Build the pdf target (make pdf). That will use pdflatex. It doesn't work here. ~/tmp/PFE % make pdf Building image files for ps documents. --

[CMake] RE: UseLATEX.cmake macros

2006-04-19 Thread Moreland, Kenneth
> And UseLATEX.cmake build dvi. I don't know how to tell him to > don't build dvi files. Build the pdf target (make pdf). That will use pdflatex. > Also, why is it neccessary to build in another directory than > source directory ? Because UseLATEX.cmake will run configure on your .tex files.