Re: [CMake] Documentation request

2011-12-21 Thread Renato Utsch
I had the same problem a yesterday (or the day before) with the string( FIND ) command... I tried to find the cmake 2.8.4 docs but I couldn't. I think you should do it, or at least to issue a warning (in the documentation) in every command that wasn't introduced in CMake 2.8.0... Yes, the Python

Re: [CMake] Documentation request

2011-12-21 Thread Eric Noulard
2011/12/21 Renato Utsch : > I had the same problem a yesterday (or the day before) with the > string( FIND ) command... > > I tried to find the cmake 2.8.4 docs but I couldn't. cmake command **itself** is able to spit out its documentation. So cmake --help-command string will give you the hopefu

Re: [CMake] Documentation request

2011-12-21 Thread Renato Utsch
> You ? > This represents a fair amount of work... > I bet that if no-one did it it is because it's a hUGe task. Sorry, I am not that good with english, I meant as the CMake team with 'you'. But the 'CMake team' could do that with new releases, like, writing this warning with additions in the newe

Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers.

2011-12-21 Thread Abdelrazak Younes
Hi Alexander, Just wanted to let you know that, thanks to your assistance, we did some more work on this. Please refer to the issue: http://public.kitware.com/Bug/view.php?id=12614 It would be nice if this work could be integrated in next release of CMake. Cheers, Abdel. -Original Messag

Re: [CMake] Documentation request

2011-12-21 Thread Michael Wild
As I already said, all the old documentation (back to version 1.6, AFAIK) is available on the wiki. Michael On 12/21/2011 01:12 PM, Renato Utsch wrote: >> You ? >> This represents a fair amount of work... >> I bet that if no-one did it it is because it's a hUGe task. > > Sorry, I am not that goo

Re: [CMake] Documentation request

2011-12-21 Thread Renato Utsch
Yes, but is not so easy to find. It would be easier to have it in the documentation page (if the page hosts CMake 2.6 or CMake 2.4 documentations, why it doesn't host CMake 2.8.3 documentation? They should be on the wiki too!), easier to find. Renato 2011/12/21 Michael Wild : > As I already said,

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-21 Thread Yngve Levinsen
Dear Clinton and David, Thanks for your replies. I did notice the COMPONENT discrepancy on my other project, but I figured out now that I had misunderstood the first time (or at least I think so). What I wrote then was something along the lines of (which didn't work): INSTALL(TARGETS ${mtargets}

[CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread André Caron
I've recently been surprised by the behavior of CMake when modifying "CMakeLists.txt" files pointed to by "add_subdirectory()" directives. I've asked the question on StackOverflow[1] and have gotten no clean answer. If anyone is interested, there is a small bounty (50 points) on the question expir

[CMake] Target to build only unit tests?

2011-12-21 Thread Robert Dailey
Is there a target generated by CMake to build ONLY unit tests? I'm using Visual Studio 2008. If not, is there a way I can make one? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep m

Re: [CMake] Documentation request

2011-12-21 Thread Tim Gallagher
I like the idea of putting "new in #.#.#" when features are added, that would at least be an easy reminder on the documentation page that some things are not universal to 2.8.*. I also agree that it's not super clear that back documentation is available on the wiki. If you look at the document

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread David Cole
Here's my initial shot at it: http://stackoverflow.com/questions/8479929/cmake-add-subdirectory-and-recompiling/8593372#8593372 On Wed, Dec 21, 2011 at 11:25 AM, André Caron wrote: > I've recently been surprised by the behavior of CMake when modifying > "CMakeLists.txt" files pointed to by "

Re: [CMake] Target to build only unit tests?

2011-12-21 Thread David Cole
On Wed, Dec 21, 2011 at 11:29 AM, Robert Dailey wrote: > Is there a target generated by CMake to build ONLY unit tests? I'm using > Visual Studio 2008. > No, there is not. > If not, is there a way I can make one? Yes, of course. You can do anything you want with a combination of add_custom_com

Re: [CMake] Target to build only unit tests?

2011-12-21 Thread David Cole
On Wed, Dec 21, 2011 at 11:52 AM, David Cole wrote: > On Wed, Dec 21, 2011 at 11:29 AM, Robert Dailey wrote: >> Is there a target generated by CMake to build ONLY unit tests? I'm using >> Visual Studio 2008. >> > > No, there is not. > > >> If not, is there a way I can make one? > > Yes, of course

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread Michael Wild
On 12/21/2011 05:25 PM, André Caron wrote: > I've recently been surprised by the behavior of CMake when modifying > "CMakeLists.txt" files pointed to by "add_subdirectory()" directives. > I've asked the question on StackOverflow[1] and have gotten no clean > answer. If anyone is interested, there

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread David Cole
On Wed, Dec 21, 2011 at 11:56 AM, Michael Wild wrote: > On 12/21/2011 05:25 PM, André Caron wrote: >> I've recently been surprised by the behavior of CMake when modifying >> "CMakeLists.txt" files pointed to by "add_subdirectory()" directives. >> I've asked the question on StackOverflow[1] and ha

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread Michael Wild
On 12/21/2011 05:59 PM, David Cole wrote: > On Wed, Dec 21, 2011 at 11:56 AM, Michael Wild wrote: >> On 12/21/2011 05:25 PM, André Caron wrote: >>> I've recently been surprised by the behavior of CMake when modifying >>> "CMakeLists.txt" files pointed to by "add_subdirectory()" directives. >>> I'

[CMake] Upcoming "What's New in CMake 2.8.7" webinar

2011-12-21 Thread David Cole
The CMake team is hard at work on the 2.8.7 release - we announced CMake 2.8.7 rc1 on December 8th, and we expect to release the final version by the end of the year. Want to learn more? Then please join us on January 4th from 12:00-12:20 p.m. EST, when I

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread Bill Hoffman
On 12/21/2011 11:56 AM, Michael Wild wrote: [1]: http://stackoverflow.com/questions/8479929/cmake-add-subdirectory-and-recompiling Get rid of the file(GLOB ...). Never, ever use it unless you know exactly what you're doing. Using it usually breaks something. Also, you didn't say *what* chan

Re: [CMake] Documentation request

2011-12-21 Thread Renato Utsch
Yes, exactly, the way it is now is not obvious, but it should be. I indeed thought that CMake 2.8 documentation was for 2.8.*, but I discovered this week that it wasn't. And I'm sure that this happens with A LOT of people. Renato 2011/12/21 Tim Gallagher : > I like the idea of putting "new in #.

Re: [CMake] Documentation request

2011-12-21 Thread Mateusz Łoskot
On 21 December 2011 18:10, Renato Utsch wrote: > Yes, exactly, the way it is now is not obvious, but it should be. > > I indeed thought that CMake 2.8 documentation was for 2.8.*, but I > discovered this week that it wasn't. And I'm sure that this happens > with A LOT of people. As a matter of fa

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread André Caron
Bill, your suggestion lead me to find a problem in the way I was setting the compiler flags. It seems this had nothing to do with the "add_subdirectory()" command or my project structure. If you're interested in the answer, checkout it out: http://stackoverflow.com/q/8479929/313063 Thanks, A

Re: [CMake] Target to build only unit tests?

2011-12-21 Thread Andreas Mohr
Hi, On Wed, Dec 21, 2011 at 11:59:13AM -0500, cmake-requ...@cmake.org wrote: > Date: Wed, 21 Dec 2011 11:52:27 -0500 > From: David Cole > Subject: Re: [CMake] Target to build only unit tests? > To: Robert Dailey > Cc: CMake ML > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-

Re: [CMake] Target to build only unit tests?

2011-12-21 Thread Robert Dailey
I've managed to workaround this in Visual Studio by using a solution folder for my unit tests. I can then right-click the solution folder and click "Build", and that will build all my tests. I actually like the dependency idea, it is simple and straight forward. I have common code that defines my

Re: [CMake] Support for RVDS 4.1: ARM C/C++ and ASM compilers.

2011-12-21 Thread Alexander Neundorf
On Wednesday 21 December 2011, Abdelrazak Younes wrote: > Hi Alexander, > > Just wanted to let you know that, thanks to your assistance, we did some > more work on this. Please refer to the issue: > > http://public.kitware.com/Bug/view.php?id=12614 > > It would be nice if this work could be inte

Re: [CMake] Upcoming "What's New in CMake 2.8.7" webinar

2011-12-21 Thread Alexander Neundorf
On Wednesday 21 December 2011, David Cole wrote: > The CMake team is hard at work on the 2.8.7 release - we > announced CMake > 2.8.7 rc1 on December 8th, and we expect to release the final version by > the end of the year. Want to learn more? Then please

Re: [CMake] Upcoming "What's New in CMake 2.8.7" webinar

2011-12-21 Thread Marcus D. Hanwell
On Wed, Dec 21, 2011 at 3:50 PM, Alexander Neundorf wrote: > On Wednesday 21 December 2011, David Cole wrote: >> The CMake team is hard at work on the 2.8.7 release - we >> announced CMake >> 2.8.7 rc1 on December 8th, and we expect to release the final v

Re: [CMake] Upcoming "What's New in CMake 2.8.7" webinar

2011-12-21 Thread David Cole
On Wed, Dec 21, 2011 at 3:50 PM, Alexander Neundorf wrote: > On Wednesday 21 December 2011, David Cole wrote: > > The CMake team is hard at work on the 2.8.7 release - we > > announced CMake > > 2.8.7 rc1 on December 8th, and we expect to release the fin

Re: [CMake] cmake, eclipse cdt, and intellisense

2011-12-21 Thread Dan Kegel
On Thu, Dec 15, 2011 at 3:00 PM, Dan Kegel wrote: > On Thu, Dec 15, 2011 at 6:57 PM, Dan Kegel wrote: >> It seems that cmake-2.8.4's generator for eclipse falls short >> when it comes to intellisense (er, content assist). cmake trunk seems to do a nice job, without any of the workarounds I had b

[CMake] wrong line endings in cmake-2.8.7-rc1-1-src.tar.bz2 ?

2011-12-21 Thread Dan Kegel
http://www.cmake.org/files/v2.8/cmake-2.8.7-rc1-1-src.tar.bz2 seems to have DOS line endings, which leads the the following error when running configure on linux: /home/dank/Downloads/cmake-2.8.7/Bootstrap.cmk/cmConfigure.h:29: error: missing terminating " character The command find . -type f -pr

Re: [CMake] wrong line endings in cmake-2.8.7-rc1-1-src.tar.bz2 ?

2011-12-21 Thread David Cole
That is the cygwin tar.bz2 file. If you want a Linux line endings source tarball, use: cmake-2.8.7-rc1.tar.gz Or wait a few minutes (hours) for rc2... :-) HTH, David On Wed, Dec 21, 2011 at 6:21 PM, Dan Kegel wrote: > http://www.cmake.o

Re: [CMake] wrong line endings in cmake-2.8.7-rc1-1-src.tar.bz2 ?

2011-12-21 Thread Dan Kegel
Aha, thanks for the explanation. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe:

[CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-21 Thread David Cole
The CMake 2.8.7 release candidate stream continues! You can find the source and binaries here:   http://www.cmake.org/files/v2.8/?C=M;O=D This email is also available as a blog post:   http://www.kitware.com/blog/home/post/216 Some of the notable changes in this release are: - improved Eclipse

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-21 Thread David Cole
The CMake 2.8.7 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This will become the final build of CMake 2.8.7 next Wednesday unless somebody finds and reports a showstopping (crasher, serious behavioral regression) issue