[CMake] cmake with LaTeX [UseLATEX.cmake]

Daniel Pfeifer daniel at pfeifer-mail.de
Tue Jan 25 02:15:54 EST 2011


Am Dienstag, den 25.01.2011, 15:41 +0900 schrieb Raymond Wan:
>  Everything is fine except that pdflatex
> doesn't seem to work with images well on my system...  That's of
> course my system [or my :-) ] fault, though.

Do you use the IMAGE_DIRS or IMAGES parameters? UseLATEX.cmake should
then convert all images to the right format. Maybe check you imagemagick
installation.

> ... Is there something I can do
> in my CMakeLists.txt file to ensure that it is the default target (and
> not "pdf" or any of the others) when I type "make".

Sure, there is the DEFAULT_PDF option. Have a look at section '3.3
Create a PDF by Default' in the manual.

cheers, Daniel




More information about the CMake mailing list