Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-05 Thread jianhua
Hi Neundorf; Thanks for your kindly response on this issue. >Usually it is not that slow. >Can you give us some more information ? >Of how many files consists your target approximately ? >Under which operating system ? >Is it maybe on NFS or samba ? I try to build a lib based on about 300 so

[CMake] New build configuration based off existing configuration?

2011-06-05 Thread Ivan Neeson
Is it possible to easily add a new build configuration that is identical to an existing configuration (for example "MinSizeRel2" which has exactly the same settings as "MinSizeRel")? ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] Addition to FindGit

2011-06-05 Thread Jean-Christophe Fillion-Robin
Hi Folks, This updated version of FindGit supports both git and git-svn. See http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/CMake/FindGit.cmake?revision=16492&view=markup Hth Jc 2011/6/5 Nicolas Desprès > Hi, > > That's a great idea. I'd like to contribute some function too. I > have rewr

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Marcus D. Hanwell
On Sun, Jun 5, 2011 at 3:47 PM, Alexander Neundorf wrote: > On Sunday, June 05, 2011 08:43:02 PM Hendrik Sattler wrote: >> Am Sonntag, 5. Juni 2011, 18:16:03 schrieb Michael Wild: >> > On 06/05/2011 05:34 PM, Hendrik Sattler wrote: >> > > Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly: >

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Alexander Neundorf
On Sunday, June 05, 2011 08:43:02 PM Hendrik Sattler wrote: > Am Sonntag, 5. Juni 2011, 18:16:03 schrieb Michael Wild: > > On 06/05/2011 05:34 PM, Hendrik Sattler wrote: > > > Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly: > > >> Hendrik Sattler wrote: > > >>> Really why? There is no dyn

[CMake] Embedding one project inside a second

2011-06-05 Thread Richard Offer
I have two distinct projects - A and B - each has its own subversion repository etc - they are quite independent. Project A is nw and needs to be built 32bit and itself comprises both in-house and third party code. The third party code is built using ExternalProject_Add() Project B is built 64b

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Hendrik Sattler
Am Sonntag, 5. Juni 2011, 18:16:03 schrieb Michael Wild: > On 06/05/2011 05:34 PM, Hendrik Sattler wrote: > > Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly: > >> Hendrik Sattler wrote: > >>> Really why? There is no dynamic content in such a header file. > >> > >> I'm not sure what you m

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Marcus D. Hanwell
On Sat, Jun 4, 2011 at 3:17 PM, Stephen Kelly wrote: > Hi, > > I came up with an idea to simplify the creation of export headers for hidden > visibility by using configure_file. > > After implementing it I saw that the idea has come up before :) > > http://www.mail-archive.com/cmake@cmake.org/msg2

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Michael Wild
On 06/05/2011 05:34 PM, Hendrik Sattler wrote: > Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly: >> Hendrik Sattler wrote: >>> Really why? There is no dynamic content in such a header file. >> >> I'm not sure what you mean? Could you be more specific? > > This header file only contains s

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Hendrik Sattler
Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly: > Hendrik Sattler wrote: > > Really why? There is no dynamic content in such a header file. > > I'm not sure what you mean? Could you be more specific? This header file only contains static content. You don't even one definition per libr

Re: [CMake] Addition to FindGit

2011-06-05 Thread Nicolas Desprès
Hi, That's a great idea. I'd like to contribute some function too. I have rewritten a couple of them while working on project versioned by Git. Cheers, -Nico On Sun, Jun 5, 2011 at 11:02 AM, Quintus wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi there, > > I'm working on a g

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Stephen Kelly
Hendrik Sattler wrote: > Really why? There is no dynamic content in such a header file. > I'm not sure what you mean? Could you be more specific? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opens

[CMake] Addition to FindGit

2011-06-05 Thread Quintus
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm working on a git-versioned project that I'd like to display it's version number for development versions like this: 1.2.3-dev (commit abc1234 on devel, 12/4/10) CMake's FindGit module seems to be quite limited as it just gives me the p