[CMake] Howto say cmake to copy files in the builddir

Eric Noulard eric.noulard at gmail.com
Mon May 21 08:52:04 EDT 2007


2007/5/21, Matthias Fechner <idefix at fechner.net>:
> Hello Eric,
>
> * Eric Noulard <eric.noulard at gmail.com> [21-05-07 14:10]:
> >  I think you should add your style files as INPUTS
> >  since INPUTS may take a list of file.
>
> that i tried too.
> If i put the file (with or without directory) to the INPUTS I always
> get the errormessage:
> make: don't know how to make build/standard_eng.sty. Stop
>
> or
> make: don't know how to make build/format/standard_eng.sty. Stop

Which version of the UseLatex.cmake are you using.
Before version 1.5.0
INPUTS did not accept files whoses extension was not ".tex"

see:
http://www.cmake.org/pipermail/cmake/2007-April/013533.html
adn the up to date macro there:
http://www.cmake.org/Wiki/images/8/80/UseLATEX.cmake


> The .sty file is used in the latex document with:
> \documentclass[a4paper,BCOR1cm,titlepage,fleqn,bibtotoc,idxtotoc,oneside,openbib]{scrbook}
> \usepackage{format/standard_eng}

If the CMake macro does not handle directory properly
you may  have to

\usepackage{standard_eng}

instead of

\usepackage{format/standard_eng}

-- 
Erk


More information about the CMake mailing list