Re: [CMake] [EXTERNAL] Re: execute_process appending redirected output

2011-12-30 Thread Belcourt, K. Noel
On Dec 30, 2011, at 8:05 PM, Michael Hertling wrote: On 12/28/2011 05:39 PM, Belcourt, K. Noel wrote: Hi Aaron, On Dec 27, 2011, at 11:04 PM, Aaron Ten Clay wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/27/11 16:16, Belcourt, Kenneth wrote: I'm trying to get CMake to execute

Re: [CMake] Interrupt problems in cmake-gui

2011-12-30 Thread Clinton Stimpson
Yeah it does look like synchronization is needed to fix this. The current interrupt functionality depends on message output or progress reporting to actually process the interrupt on the worker thread, which isn't good enough. I'm not sure if you've considered this, but it seems simpler to add

Re: [CMake] Interrupt problems in cmake-gui

2011-12-30 Thread Bill Hoffman
On 12/30/2011 8:10 PM, Robert Dailey wrote: I'd like to introduce boost into CMake for this. No way... :) -Bill -- 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

Re: [CMake] [EXTERNAL] Re: execute_process appending redirected output

2011-12-30 Thread Michael Hertling
On 12/28/2011 05:39 PM, Belcourt, K. Noel wrote: > Hi Aaron, > > On Dec 27, 2011, at 11:04 PM, Aaron Ten Clay wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 12/27/11 16:16, Belcourt, Kenneth wrote: >>> I'm trying to get CMake to execute this command >>> >>> INSTALL(CODE >>>

Re: [CMake] Interrupt problems in cmake-gui

2011-12-30 Thread Robert Dailey
I don't know much about Qt, but what I do know is the fix involves using a direct connection. In CMakeSetupDialog::doInterrupt(), I changed the invokeMethod() command to use Qt::DirectConnection. However, this solution is not thread safe, hence why I asked about synchronization. I could implement

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

2011-12-30 Thread David Cole
On Wed, Dec 21, 2011 at 4:04 PM, Marcus D. Hanwell wrote: > 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

[CMake] CMake 2.8.7 available for download

2011-12-30 Thread David Cole
On behalf of myself, Ken, Bill, Brad, Alex, Zach, Ben and the rest of the CMake team from all around the world, we are pleased to announce that CMake 2.8.7 is now available for download at:   http://www.cmake.org/files/v2.8/?C=M;O=D It is also available from the usual download links found on the

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

2011-12-30 Thread David Cole
On Fri, Dec 30, 2011 at 3:25 PM, Alan W. Irwin wrote: > I have investigated further, and I now think Dave is right with his > desire to go ahead with the release of the rc2 versions of the > lapack/blas find modules. (Sorry, Dave, for this flip-flop at the > last minute, but such deeper investiga

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

2011-12-30 Thread Alan W. Irwin
I have investigated further, and I now think Dave is right with his desire to go ahead with the release of the rc2 versions of the lapack/blas find modules. (Sorry, Dave, for this flip-flop at the last minute, but such deeper investigations take time.) What appears to be going on is that in 2.8.

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

2011-12-30 Thread Alan W. Irwin
On 2011-12-30 11:06+0100 Eric Noulard wrote: 2011/12/27 Alan W. Irwin : Hi Alan, The issue is that if I set CMAKE_LIBRARY_PATH to find a special version of lapack/blas, only the lapack part of that is honored.  For example, if I set export CMAKE_LIBRARY_PATH=/home/software/lapack/install_dou

Re: [CMake] Interrupt problems in cmake-gui

2011-12-30 Thread clin...@elemtech.com
There isn't a lock. Synchronization is done by threads having event loops and calling Qt slots in a queued fashion (like posting messages to the other event queue). I imagine you just need to add another place where the interrupt is checked and gracefully return (which should take you back to t

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

2011-12-30 Thread Alan W. Irwin
On 2011-12-30 11:22+0100 Eric Noulard wrote: 2011/12/30 David Cole : There is no conservative course here. There is a choice of whether to make CMake 2.8.7 behave the same as 2.8.6 or the same as 2.8.5. For this to be a showstopper it would have had to be reported before we tagged 2.8.6 -- si

Re: [CMake] Interrupt problems in cmake-gui

2011-12-30 Thread Robert Dailey
I found the problem in code and currently have a fix. However, the code change requires some thread synchronization. Does anyone know if there is a reader/writer lock object in the CMake source code? - Robert Dailey On Fri, Dec 30, 2011 at 9:58 AM, Robert Dailey wrote: > I have a forea

[CMake] Interrupt problems in cmake-gui

2011-12-30 Thread Robert Dailey
I have a foreach/while loop that checks if files exist. The files it is checking are on a Windows network share. So, each check takes a while. Sometimes after I click "Configure" in cmake-gui.exe, I want to click "Stop" during this check. However, the stop does not seem to interrupt the loop. I kno

Re: [CMake] FTP client in CMake?

2011-12-30 Thread Robert Dailey
Thanks David. Apparently I was looking in the wrong place, I assumed it would be a cmake option :) Happy New Year!! - Robert Dailey On Thu, Dec 29, 2011 at 5:11 PM, David Cole wrote: > file(DOWNLOAD ...) works with "ftp:" urls. > > For example, the following script works for me (with

Re: [CMake] How to "install" then "test"?

2011-12-30 Thread Nicolas Desprès
On Thu, Dec 29, 2011 at 8:01 PM, Denis Scherbakov wrote: > Dear All! > > Maybe someone can help me: I have a project, we compile binaries and then > using various INSTALL directives finish the job by copying files where they > belong: to "bin", "man", "libexec", etc. The point is, we need to run

Re: [CMake] on find_package and building dependencies

2011-12-30 Thread Eric Noulard
2011/12/30 Ryan Lewis : > Hi, yes, this is all that I can't figure out if I type the define > without a type, it fails, but I can't figure out this variables type. > I tried STRING and FILEPATH and even BOOL. This is a PATH, so; cmake -DCMAKE_FIND_ROOT_PATH:PATH="/path/to/custom/install" but I th

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

2011-12-30 Thread Eric Noulard
2011/12/30 David Cole : > > There is no conservative course here. There is a choice of whether to make > CMake 2.8.7 behave the same as 2.8.6 or the same as 2.8.5. > > For this to be a showstopper it would have had to be reported before we > tagged 2.8.6 -- since it is now already in 2.8.6, it shou

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

2011-12-30 Thread Eric Noulard
2011/12/27 Alan W. Irwin : Hi Alan, > The issue is that if I set CMAKE_LIBRARY_PATH to find a special > version of lapack/blas, only the lapack part of that is honored.  For > example, if I set > > export CMAKE_LIBRARY_PATH=/home/software/lapack/install_double/lib Did you tried with CMAKE_FIND_R