[CMake] RE: UseLATEX.cmake macros

Bertrand Jacquin beber.mailing at gmail.com
Wed Apr 26 15:05:14 EDT 2006


On 4/26/06, Bertrand Jacquin <beber.mailing at gmail.com> wrote:
> On 4/26/06, Moreland, Kenneth <kmorel at sandia.gov> 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
> > -- Check size of void*
> > -- Check size of void* - done
> > -- Check for working CXX compiler: c++
> > -- Check for working CXX compiler: c++ -- works
> > CMake Error: Error in cmake code at
> > /c/kmorel/tmp/pfe/docs/cahier_des_charges/CMakeLists.txt:3:
> > INCLUDE Could not find include file: UseLATEX
> > CMake Error: Error in cmake code at
> > /c/kmorel/tmp/pfe/docs/cahier_des_charges/CMakeLists.txt:4:
> > Unknown CMake command "ADD_LATEX_IMAGES".
> > CMake Error: Error in cmake code at
> > /c/kmorel/tmp/pfe/docs/cahier_des_charges/CMakeLists.txt:5:
> > Unknown CMake command "ADD_LATEX_DOCUMENT".
> > -- Configuring done
> >
> > Using find, I did not see a copy of UseLATEX.cmake in your source tree.
> > Why are you not including it?
>
> I puted it on /usr/share/cmake/Modules/UseLATEX.cmake is it need to me
> to put it in repo ? where ?

Ok, found, works now :) great.

I still have a question :
You can see that tex file to compile is in docs/cahier_des_charges/.
Why does cmake copy tex files to compile in ./ (in the root dir where
I run cmake .)

~/pfe % cg-status
Heads:
   >bj/cmake 	724cd169af9094e46675e4513c31be0ced9d1691
      master   	9acd73b2926cf8b92e3cb465fa28cfffbb0a7871
  R origin   	472c385a7d033f1e2bf3dbf6dc80a25fac27e99b

? cahier_des_charges_fonctionnel_fr.tex
M docs/cahier_des_charges/cahier_des_charges_fonctionnel_fr.tex

--
Beber
#e.fr at freenode


More information about the CMake mailing list