[CMake] Outputs from add_custom_command not global?

2009-03-28 Thread James Bigler
I have an add_custom_command in a subdirectory, and I'm trying to use that output as a dependency in a parent directory. Unfortunately, the parent directory doesn't see that I made a rule (add_custom_command) for the file in the subdirectory. Is there any way to make this work? I've attached a

Re: [CMake] [Fwd: Re: building within msys/mingw]

2009-03-28 Thread Bill Hoffman
Kenneth Boyd wrote: Apologies for not replying to the list. Forwarding: Original Message Subject: Re: [CMake] building within msys/mingw Date: Fri, 27 Mar 2009 22:07:37 -0500 From: Kenneth Boyd zaim...@zaimoni.com To: Jason Addison jraddi...@gmail.com

Re: [CMake] [Doxygen-users] Complex documentation question

2009-03-28 Thread Robert Dailey
The thing is, I'm generating all of the projects myself. I have 3 different doxygen config files for 3 projects (Remember A, B, C before in my previous example). In addition, the order in which I process each project is linear and their dependencies are not. What I really need is the ability to

[CMake] (no subject)

2009-03-28 Thread Matteo Toro
i'm trying to configure qgis but this is the output of cmake . : t...@toro-desktop:~/Scrivania/qgis_1.0.0$ cmake . CMake Error: Error in cmake code at /usr/local/share/CMake/Modules/CMakeDetermineSystem.cmake:73: FILE Internal CMake error when trying to open file:

Re: [CMake] [Doxygen-users] Complex documentation question

2009-03-28 Thread Benoit
As i can see you also use cmake to generate your project, therefore you can use it to generate doxygen. you can generate a doxyfile for each library to geneate only doxygen TAGFILE. then you can generate another doxygen file that generate you the complete documentation in a second pass using the

Re: [CMake] Outputs from add_custom_command not global?

2009-03-28 Thread Tyler Roscoe
On Sat, Mar 28, 2009 at 12:16:21AM -0600, James Bigler wrote: I have an add_custom_command in a subdirectory, and I'm trying to use that output as a dependency in a parent directory. Unfortunately, the parent directory doesn't see that I made a rule (add_custom_command) for the file in the

Re: [CMake] (no subject)

2009-03-28 Thread Tyler Roscoe
On Sat, Mar 28, 2009 at 07:00:07PM +0100, Matteo Toro wrote: i'm trying to configure qgis but this is the output of cmake . : t...@toro-desktop:~/Scrivania/qgis_1.0.0$ cmake . CMake Error: Error in cmake code at /usr/local/share/CMake/Modules/CMakeDetermineSystem.cmake:73: FILE Internal

Re: [CMake] [Doxygen-users] Complex documentation question

2009-03-28 Thread Robert Dailey
Thank you for the idea Benoit. That definitely solves the problem (although not elegantly). I would actually prefer to generate the documentation for A, B, and C all in one config file. However, this creates a whole different set of issues. I would expect the related output files for project A to

Re: [CMake] Need help with GLOB expression

2009-03-28 Thread Robert Dailey
Can I get some help with this? Sorry to rush, but I'm a bit blocked. I know some of you may be tempted to ask my why I'm doing this and possibly even try to change my mind, but with all do respect, I don't plan to avoid globbing :) On Fri, Mar 27, 2009 at 7:07 PM, Robert Dailey rcdai...@gmail.com

Re: [CMake] Need help with GLOB expression

2009-03-28 Thread Carlson Daniel
try: *.(h|hpp|ipp) 2009/3/28 Robert Dailey rcdai...@gmail.com Can I get some help with this? Sorry to rush, but I'm a bit blocked. I know some of you may be tempted to ask my why I'm doing this and possibly even try to change my mind, but with all do respect, I don't plan to avoid globbing

Re: [CMake] Outputs from add_custom_command not global?

2009-03-28 Thread James Bigler
Below. On Mar 28, 2009, at 12:21 PM, Tyler Roscoe ty...@cryptio.net wrote: On Sat, Mar 28, 2009 at 12:16:21AM -0600, James Bigler wrote: I have an add_custom_command in a subdirectory, and I'm trying to use that output as a dependency in a parent directory. Unfortunately, the parent

Re: [CMake] Need help with GLOB expression

2009-03-28 Thread Robert Dailey
Thank you. For future reference, is the glob syntax for CMake documented anywhere? If it is, I have not been able to find it. Thanks again! On Sat, Mar 28, 2009 at 4:51 PM, Carlson Daniel daniel.c.carl...@gmail.comwrote: try: *.(h|hpp|ipp) 2009/3/28 Robert Dailey rcdai...@gmail.com Can I

Re: [CMake] Need help with GLOB expression

2009-03-28 Thread James Bigler
The regular expression syntax is documented under the 'string' command in the help files. There's also a wiki entry: http://vtk.org/Wiki/CMake_FAQ#Which_regular_expressions_are_supported_by_CMake.3F I couldn't get file(GLOB_RECURSE sources *.(h|cpp)) to work. *.h would catch all the h files,

Re: [CMake] Need help with GLOB expression

2009-03-28 Thread Robert Dailey
I would prefer it just work. For large directory hierarchies, running the glob twice is severely inefficient. Thanks for the link to the documentation. Can anyone figure out a way to glob for H, HPP, and IPP files in a single glob operation? Is it even possible? I'd be really disappointed it it