Re: [CMake] having ADD_CUSTOM_COMMAND call a macro

2008-01-08 Thread Brandon Van Every
On Jan 7, 2008 7:07 PM, Jesse Corrington [EMAIL PROTECTED] wrote: Can the command for add_custom_command be a macro or does it need to be a built in cmake command? Thanks It can't be a macro. It can't be any CMake command. The COMMAND has to be some sort of shell command, like running a tool.

[CMake] Custom build command for documentation

2008-01-08 Thread Alexander.Camek
Hi all, currently I can generate for some subdirectories my Latex and Doxygen documentation. This is done like it is described in the cmake FAQ. What I now want to do is to collect all this commands of the subdirectory and put it in an unique common build command, e.g. make doc. The idea is

Re: [CMake] Custom build command for documentation

2008-01-08 Thread Pau Garcia i Quiles
Quoting [EMAIL PROTECTED]: Hi all, currently I can generate for some subdirectories my Latex and Doxygen documentation. This is done like it is described in the cmake FAQ. What I now want to do is to collect all this commands of the subdirectory and put it in an unique common build

Re: [CMake] Custom build command for documentation

2008-01-08 Thread Stefan Buschmann
Hi, You can just define custom dependencies to include all your documentation in one doc target. E.g. I have a target Docs in my project: ADD_CUSTOM_TARGET(Docs) And then in each subdirectory that contains a documentation project, I write e.g.: ... ADD_CUSTOM_TARGET(Docs-Doxygen

[CMake] CMake and a fortran for a newbie

2008-01-08 Thread Leopold Palomo-Avellaneda
Hi, I have seen in this list and the web that cmake have some treatment with the fortran language but I have to addmitt that I don't have understood if finally it works or not. I'm a cmake user with c and c++ language and more or less I can made all my programs. I would like to explain the

RE: [CMake] Custom build command for documentation

2008-01-08 Thread Alexander.Camek
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Stefan Buschmann Sent: Tuesday, January 08, 2008 1:51 PM To: CMake@cmake.org Subject: Re: [CMake] Custom build command for documentation Hi, You can just define custom dependencies to

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread Jesse Corrington
Yes, the binary from kitware does work, but I have added to cmake, so I need to use my own binary. Using my binary with the dll's that the kitware one installed still didn't work. I'm not sure how to do a make install. To build I generated the VS2005 project files and built the exes, but this

[CMake] cmake dependency checking

2008-01-08 Thread Ajay Divekar
Hi, I have the following directory structure ProjName | - src | -lib | -app if I execute cmake -DBUILD_TYPE=Debug at the app level then the linking fails with missing lib. Obviously this because the lib is not compiled. Is there

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread Bill Hoffman
Jesse Corrington wrote: Yes, the binary from kitware does work, but I have added to cmake, so I need to use my own binary. Using my binary with the dll's that the kitware one installed still didn't work. I'm not sure how to do a make install. To build I generated the VS2005 project files and

[CMake] cmake 2.4.8 RC 10

2008-01-08 Thread Bill Hoffman
I have a new beta release for 2.4.8 ready for cmake. This will be the last release of the 2.4.X branch. The next release will be 2.6.0. So, please make sure you test it if you are interested in a 2.4.8. Send any issues to me or the cmake list. Thanks. RC 10 has a small fix for FindQt4,

[CMake] getting the output directory in a cmake script

2008-01-08 Thread Jesse Corrington
Is there any variable that stores the output directory where the project files are generated. I need this information to create a post build step to copy a file to the project root. ___ CMake mailing list CMake@cmake.org

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread Jesse Corrington
When I set the Install target as the startup project and run from inside visual studio I just get the dialog asking me to specify an executable for the debugging session. On Jan 8, 2008 11:20 AM, Bill Hoffman [EMAIL PROTECTED] wrote: Jesse Corrington wrote: Yes, the binary from kitware does

Re: [CMake] cmake 2.4.8 RC 10

2008-01-08 Thread Sean McBride
On 1/8/08 2:32 PM, Bill Hoffman said: The changes from 2.4.7 are as follows: Changes in CMake 2.4.8 RC 10 * Fix for FindQt4 and glib and gthread, if not found don't use Changes in CMake 2.4.8 RC 9 * add some descriptive text to the mac installer Changes in CMake 2.4.8 RC 8 * Add ability to select

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread Bill Hoffman
Jesse Corrington wrote: When I set the Install target as the startup project and run from inside visual studio I just get the dialog asking me to specify an executable for the debugging session. You are not supposed to run it, you are supposed to build it... -Bill

Re: [CMake] Running CMake on windows VM

2008-01-08 Thread David Cole
Build the INSTALL target. Right click it and choose Project Only Build Only INSTALL I would install NSIS and build the PACKAGE target to create my own installer. Then the installer can be used on any Windows machine to set it up. On 1/8/08, Jesse Corrington [EMAIL PROTECTED] wrote: When I

[CMake] RE: CMake and a fortran for a newbie (Leopold Palomo-Avellaneda)

2008-01-08 Thread Alin M Elena
Hi Leo, | Please, can I use cmake in a fortran project as I use cmake in a c++ project? Yes you can! Alin ...if the universities will not study useless subjects, who will? G. F. Fitzgerald,

Re: [CMake] RE: CMake and a fortran for a newbie (Leopold Palomo-Avellaneda)

2008-01-08 Thread Maik Beckmann
Am Dienstag 08 Januar 2008 21:14:55 schrieb Alin M Elena: Hi Leo, | Please, can I use cmake in a fortran project as I use cmake in a c++ project? Yes you can! Note: If you're using cmake-2.4.x, this is cool as long as you don't use modules. The current CVS-HEAD provides

Re: [CMake] cmake 2.4.8 RC 10

2008-01-08 Thread Bill Hoffman
Sean McBride wrote: On 1/8/08 2:32 PM, Bill Hoffman said: The changes from 2.4.7 are as follows: Changes in CMake 2.4.8 RC 10 * Fix for FindQt4 and glib and gthread, if not found don't use Changes in CMake 2.4.8 RC 9 * add some descriptive text to the mac installer Changes in CMake 2.4.8 RC 8

Re: [CMake] Cygwin cmake generating MSVC projects

2008-01-08 Thread Bill Hoffman
Rodolfo Lima wrote: Is there a reason why a cygwin-generated cmake cannot generate MSVC or NMake projects? Yes, cygwin paths would be incomprehensible to MS tools. -Bill ___ CMake mailing list CMake@cmake.org

Re: [CMake] getting the output directory in a cmake script

2008-01-08 Thread Brandon Van Every
On Jan 8, 2008 2:46 PM, Jesse Corrington [EMAIL PROTECTED] wrote: Is there any variable that stores the output directory where the project files are generated. I need this information to create a post build step to copy a file to the project root. Sure, CMAKE_BINARY_DIR and

Re: [CMake] cmake dependency checking

2008-01-08 Thread Brandon Van Every
On Jan 8, 2008 1:47 PM, Ajay Divekar [EMAIL PROTECTED] wrote: Hi, I have the following directory structure ProjName | - src | -lib | -app if I execute cmake -DBUILD_TYPE=Debug at the app level I don't have any

[CMake] Re: Cygwin cmake generating MSVC projects

2008-01-08 Thread Rodolfo Lima
Bill Hoffman escreveu: Yes, cygwin paths would be incomprehensible to MS tools. That's fair. Thanks. Rodolfo Lima. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] RE: CMake and a fortran for a newbie (Leopold Palomo-Avellaneda)

2008-01-08 Thread Leopold Palomo Avellaneda
Maik, Alexander, Alin thank's for the answer. I have to prepare a prototype but I think that it will be affordable. regards, Leo A Dimarts 08 Gener 2008, Maik Beckmann va escriure: Am Dienstag 08 Januar 2008 21:14:55 schrieb Alin M Elena: Hi Leo, | Please, can I use cmake in a fortran

RE: [CMake] Custom build command for documentation

2008-01-08 Thread Alexander.Camek
Ah forgot to put the ADD_CUSTOM_TARGET before the ADD_SUBDIRECTORY. Now it works fine. Thanks Stefan for your greate help. Greetings Alexander Please note: This e-mail may contain confidential information intended solely for