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 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-26 Thread 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 running on? ~/pfe/docs/cahier_des_charges % uname -a Linux

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 -- works --

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 PROTECTED]

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 adding the .cmake

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-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.

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/cmake

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. You put

RE: [CMake] RE: UseLATEX.cmake macros

2006-04-20 Thread Moreland, Kenneth
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: UseLATEX.cmake macros On 4/19

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 Bertrand Jacquin
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: Beber, I've posted an update for UseLATEX.cmake on the Wiki that should fix your problem. Let me know if you

[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.

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. -- Check

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 -- Check for