Re: [CMake] CMake QT and QTLinguist

2009-10-23 Thread Clinton Stimpson
On Thursday 22 October 2009 03:26:21 pm Andrew Maclean wrote: > Has anyone used QTLinguist with CMake and if so how? > > Regards >Andrew Do you mean to create .ts and .qm files? Here's an example of how to do it with cmake-gui. # just insert the languages you want to support in this list SE

[CMake] Include Guard to Stop Duplicate Targets?

2009-10-23 Thread Aaron_Wright
I have a small project with several different parts that I would like to build with CMake, but I'm having some trouble pulling it all together. For example purposes, there's an overall project with three executables that use two static libraries. The executables and static libraries are produc

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Mateusz Loskot
Dixon, Shane wrote: > Does this work with CMake at all? I don't know what would be CMake specific about that. VLD is just a library. CMake is a builder. You can build your program with CMake and link against VLD. That's for sure. Next, run your program under Visual C++ debugger to perform the ana

[CMake] Configuration dependent include_directories

2009-10-23 Thread James Bigler
Is it possible to get configuration dependent include_directories for Visual Studio? I'm looking at the 2.6.4 docs, and the include directories properties seem to only be on directories and not targets or source files. Thanks, James ___ Powered by www.k

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Dixon, Shane
Does this work with CMake at all? -- Shane Dixon Linux Engineer -Original Message- From: Mateusz Loskot [mailto:mate...@loskot.net] Sent: Fri 10/23/2009 1:21 PM To: Dixon, Shane Cc: cmake@cmake.org Subject: Re: [CMake] Open Source Memory Checker Dixon, Shane wrote: > If linux has valgr

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Steve Huston
> On Fri, Oct 23, 2009 at 2:13 PM, Steve Huston > wrote: > >> If linux has valgrind which is an open source memory checker, is > >> there any equivalent on Windows?  I noticed ctest supports purify, > >> but it looks like that's only a pay solution.  Am I out of luck > >> trying to find a memory

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Mateusz Loskot
Dixon, Shane wrote: > If linux has valgrind which is an open source memory checker, is > there any equivalent on Windows? I noticed ctest supports purify, > but it looks like that's only a pay solution. Am I out of luck > trying to find a memory checker that's open source on Windows? Visual Leak

[CMake] Visual Studio, per-config directories: What is the recommended way to set them?

2009-10-23 Thread Anteru
Hi, I'm using currently the SET_TARGET_PROPERTIES(... PREFIX "../") trick to get rid of the Debug, Release subfolders with Visual Studio. When I reported a bug for the VS 2010 generator (#9768), I got a note that issue #9163 might be interesting for me. I tried to set CMAKE_LIBRARY_OUTPU

Re: [CMake] Special variables in CTest

2009-10-23 Thread Dixon, Shane
Actually, CTest.cmake had what I needed to figure out the issue. In my script I have to set CMAKE_MAKE_PROGRAM before each run for it to work properly: SET( CMAKE_MAKE_PROGRAM "mingw32-make" ) With 2.8 I think another option would be to set CMAKE_MAKE_PROGRAM to "make --build ${DIR}" just onc

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread John Drescher
On Fri, Oct 23, 2009 at 2:13 PM, Steve Huston wrote: >> If linux has valgrind which is an open source memory checker, is >> there any equivalent on Windows?  I noticed ctest supports purify, >> but it looks like that's only a pay solution.  Am I out of luck >> trying to find a memory checker that'

Re: [CMake] Special variables in CTest

2009-10-23 Thread Dixon, Shane
That's helpful, but not quite what I'm looking for. The primary reason I'm looking is because I have a nightly script that tries to build the project using both nmake and mingw32-make. It's all in one script. If done from the command-line, both build fine. When done from the script, it build

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Steve Huston
> If linux has valgrind which is an open source memory checker, is > there any equivalent on Windows? I noticed ctest supports purify, > but it looks like that's only a pay solution. Am I out of luck > trying to find a memory checker that's open source on Windows? I've not heard of any. But IMO,

Re: [CMake] Special variables in CTest

2009-10-23 Thread Tyler Roscoe
On Fri, Oct 23, 2009 at 10:55:32AM -0600, Dixon, Shane wrote: > I've been trying to find documentation for the special variables in > CTest 2.8, but I can't find them. There are several variables that I > know are used to initialize defaults, such as CTEST_SVN_COMMAND, > CTEST_UPDATE_COMMAND, CTES

[CMake] Special variables in CTest

2009-10-23 Thread Dixon, Shane
I've been trying to find documentation for the special variables in CTest 2.8, but I can't find them. There are several variables that I know are used to initialize defaults, such as CTEST_SVN_COMMAND, CTEST_UPDATE_COMMAND, CTEST_BINARY_DIRECTORY, CTEST_BINARY_DIRECTORY, etc. Is there somewher

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Bill Hoffman
Dixon, Shane wrote: If linux has valgrind which is an open source memory checker, is there any equivalent on Windows? I noticed ctest supports purify, but it looks like that's only a pay solution. Am I out of luck trying to find a memory checker that's open source on Windows? As far as I

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Pau Garcia i Quiles
On Fri, Oct 23, 2009 at 5:56 PM, Dixon, Shane wrote: > If linux has valgrind which is an open source memory checker, is there any > equivalent on Windows?  I noticed ctest supports purify, but it looks like > that's only a pay solution.  Am I out of luck trying to find a memory > checker that's op

[CMake] Open Source Memory Checker

2009-10-23 Thread Dixon, Shane
If linux has valgrind which is an open source memory checker, is there any equivalent on Windows? I noticed ctest supports purify, but it looks like that's only a pay solution. Am I out of luck trying to find a memory checker that's open source on Windows? -- Shane ___

[CMake] Packaging and Exporting: Generating the UsePROJECT.cmake file ?

2009-10-23 Thread Mathieu Malaterre
Hi there, I am still working on Packaging and Exporting: http://www.cmake.org/Wiki/CMake_2.6_Notes#Packaging_and_Exporting I'd like to know if there is a neat function to loop over all libraries that are imported (typically for a Use*.cmake file). Eg. add_library(mylib SHARED mylib.c mylib.

[CMake] Deleting directories at 'clean' time

2009-10-23 Thread Steven Wilson
Is it possible to insert hooks so that the 'Clean' build event in Visual Studio will delete directories created with custom commands? Steve ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/ope

Re: [CMake] Global property for LINK_INTERFACE_LIBRARIES (was Re: set_property(TARGET bla PROPERTY LINK_INTERFACE_LIBRARIES ""))

2009-10-23 Thread Tyler Roscoe
On Fri, Oct 23, 2009 at 03:36:10PM +0200, Mathieu Malaterre wrote: > for all my shared lib. I'd like avoiding repeating > > add_library(bla SHARED ${bla_SRCS}) > target_link_libraries(bla foo) # foo is shared > set_property(TARGET bla PROPERTY LINK_INTERFACE_LIBRARIES "") # cumbersome Like any ki

[CMake] Global property for LINK_INTERFACE_LIBRARIES (was Re: set_property(TARGET bla PROPERTY LINK_INTERFACE_LIBRARIES ""))

2009-10-23 Thread Mathieu Malaterre
Sorry for the noise, but I'd would like a confirmation. Is there a way for me (as global property) to say: I always want an empty interface for all my shared lib. I'd like avoiding repeating add_library(bla SHARED ${bla_SRCS}) target_link_libraries(bla foo) # foo is shared set_property(TARGET bla

Re: [CMake] install(FILES mylib-config.cmake DESTINATION lib/myproj)

2009-10-23 Thread Mathieu Malaterre
On Tue, Oct 20, 2009 at 9:32 AM, Mathieu Malaterre wrote: > On Mon, Oct 19, 2009 at 9:51 PM, Brad King wrote: >> Mathieu Malaterre wrote: >>> >>> Hi there, >>> >>>  I am trying some new functionalities in CMake, in particular: >>> >>> http://www.cmake.org/Wiki/CMake_2.6_Notes#Packaging_and_Export

Re: [CMake] FindPkgConfig: Using *_LIBRARY_DIRS

2009-10-23 Thread Hendrik Sattler
Zitat von Murray Cumming : pkg_search_module() defines SOMEPREFIX_LIBRARY_DIRS among other things, as mentioned here http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindPkgConfig.cmake?root=CMake&view=markup (better than the documentation at http://www.itk.org/Wiki/CMake:How_To_Find_Librar

Re: [CMake] CTest/CDash and git

2009-10-23 Thread S Roderick
On Oct 23, 2009, at 08:21 , Brad King wrote: Andrew Maclean wrote: I guess the subject says it all. What is the status of using CMake, Ctest and CDash with git? CMake 2.8 comes with a CTest that can drive dashboards using git-based work trees (plus hg and bzr). The ctest_update() command run

Re: [CMake] CTest/CDash and git

2009-10-23 Thread Andrew Maclean
Thankyou for this. Regards Andrew On Fri, Oct 23, 2009 at 11:21 PM, Brad King wrote: > Andrew Maclean wrote: >> I guess the subject says it all. What is the status of using CMake, >> Ctest and CDash with git? > > CMake 2.8 comes with a CTest that can drive dashboards using git-based > work trees

Re: [CMake] CTest/CDash and git

2009-10-23 Thread Brad King
Andrew Maclean wrote: > I guess the subject says it all. What is the status of using CMake, > Ctest and CDash with git? CMake 2.8 comes with a CTest that can drive dashboards using git-based work trees (plus hg and bzr). The ctest_update() command runs "git pull" to update the work tree, and repo

[CMake] FindPkgConfig: Using *_LIBRARY_DIRS

2009-10-23 Thread Murray Cumming
pkg_search_module() defines SOMEPREFIX_LIBRARY_DIRS among other things, as mentioned here http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindPkgConfig.cmake?root=CMake&view=markup (better than the documentation at http://www.itk.org/Wiki/CMake:How_To_Find_Libraries ) But how can I use thos

Re: [CMake] CMake with Qt (plus pkg-config)

2009-10-23 Thread Murray Cumming
Thanks everyone. I seem to have that working, though I'm still figuring out how these various incantations work relate to each other. On Thu, 2009-10-22 at 08:37 -0400, Bill Hoffman wrote: > Murray Cumming wrote: > > I'm trying to use CMake for the first time, as an experiment, with > > little a Q