[CMake] RE: UseLATEX.cmake macros

Bertrand Jacquin beber.mailing at gmail.com
Wed Apr 19 09:16:57 EDT 2006


On 4/19/06, Moreland, Kenneth <kmorel at sandia.gov> 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 for working C compiler: gcc
-- Check for working C compiler: gcc -- works
<snip>

I got the same if I do make.

I taked the UseLATEX.cmake from cmake wiki.

> > Also, why is it neccessary to build in another directory than
> > source directory ?
>
> Because UseLATEX.cmake will run configure on your .tex files.  That is,
> it will replace all occurrences of the form @VARIABLE@ with the CMake
> variable VARIABLE.  If this causes problems, you can turn this feature
> off.  Anyway, UseLATEX.cmake forces you to build in another directory to
> ensure that UseLATEX.cmake does not accidentally clobber your files.

How could I do that (tell cmake to build if source is the same
directory as build one) ?

> -Ken

--
Beber
#e.fr at freenode


More information about the CMake mailing list