Re: [CMake] Howto define build order

2007-08-24 Thread Matthias Fechner
Matthias Fechner wrote: > ADD_CUSTOM_TARGET(bar.tex > bash -c "echo hi>${FOO_BINARY_DIR}/diro/bar.tex" > VERBATIM) sry typo in email, in the file I have: ADD_CUSTOM_TARGET(bar.tex bash -c "echo hi>${FOO_BINARY_DIR}/dir/bar.tex" VERBATIM) Best regards, M

Re: [CMake] Howto define build order

2007-08-24 Thread Matthias Fechner
Hi Eric, Eric Noulard wrote: > Did you try add > ADD_DEPENDENCIES(pdf GNUPLOTs) I tried with Jack together several combinations but we had problems at the time we moved some of the maindir into a subdir. I reduced the problem now to a very simple one, everyone can try it. Create a directory, touc

Re: [CMake] Howto define build order

2007-08-22 Thread Matthias Fechner
Hi Jack, Jack Kelly wrote: > INCLUDE(AddFileDependencies) > and then > ADD_FILE_DEPENDENCIES(${CMAKE_BINARY_DIR}/path/to/your/pdf > ${CMAKE_BINARY_DIR}/path/to/your/gnuplot/output) thx for your answer. I tried now several combinations but none of them worked. cmake always compiles at first the la

[CMake] Howto define build order

2007-08-22 Thread Matthias Fechner
Hi, I am writing my masterthesis with LaTeX and I use here cmake to do the comilation for me. Today I added gnuplot to my LaTeX document. But I have now the problem that cmake first build the LaTeX document and then the gnuplot file. How can I say cmake to first build my gnuplot files? The strut

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

2007-05-22 Thread Matthias Fechner
Hello Alan, * Alan W. Irwin <[EMAIL PROTECTED]> [21-05-07 10:16]: > CONFIGURE_FILE( > ${CMAKE_CURRENT_SOURCE_DIR}/format/standard_eng.sty > ${CMAKE_CURRENT_BINARY_DIR}/format/standard_eng.sty > COPYONLY > ) thx a lot for that tip. I am sure it will help me in the near future. Best regards,

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

2007-05-21 Thread Matthias Fechner
Hello Eric, * Eric Noulard <[EMAIL PROTECTED]> [21-05-07 14:52]: > 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 d

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

2007-05-21 Thread Matthias Fechner
Hello Eric, * Eric Noulard <[EMAIL PROTECTED]> [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

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

2007-05-21 Thread Matthias Fechner
Hi, I try to use cmake to compile my masterthesis which will be written in LaTeX. I checked the wiki page and found the macro UseLATEX.cmake. Now I have the following problem: The format file (.sty file) which my masterthesis uses is in the directory format/standard_eng.sty and some more files the

Re: [CMake] Cross Compile

2007-03-09 Thread Matthias Fechner
Hi, i found now a solution. Delete the file CMakeCache.txt and then do: CC=ppc_6xx-gcc cmake . Now everything compiles for powerppc. Best regards, Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe try

[CMake] Cross Compile

2007-03-06 Thread Matthias Fechner
Hi, I have now a small c programm and want to cross compile it for my power pc board. Is that possible with cmake? With old Makefiles I usually doing: export CROSS_COMPILE=ppc_6xx- make ARCH=ppc Thx a lot Matthias -- "Programming today is a race between software engineers striving to build bi

Re: [CMake] LaTeX with cmake

2007-03-05 Thread Matthias Fechner
Hello Bill, * Bill Hoffman <[EMAIL PROTECTED]> [05-03-07 09:46]: > There is a FAQ entry that might help: > > http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_CMake_to_build_LaTeX_documents.3F > > Where did UseLATEX.cmake come from ? you can find it here: http://www.cmake.org/Wiki/CMakeUserUseL

[CMake] LaTeX with cmake

2007-03-05 Thread Matthias Fechner
Hi, I have here a structure to build some LaTeX documents with pdflatex. The maindocument includes several documents with \includepdf. And in directories I have several documents which are included into the main document. maindocument.tex -> dir1/doc1.tex (.pdf is built) -> dir2/doc2.tex -> p