Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Richard Wackerbarth
Andrew, I was not advocating ANY "unlimited" access by otherwise unapproved users of your resources. What I am noting is that some of us do not have access to a sufficiently wide range of environments in order to develop code that "should be expected to work" within the "NEXT" protocol. I wil

Re: [CMake] build priority

2010-09-15 Thread Michael Hertling
On 09/16/2010 02:27 AM, Serghei Amelian wrote: > Hi, > > Is any way to tell cmake to build a target before beginning to start > compiling > another one? For example, i need target "dcopidl" to be exists before > generating *.kidl files. Use ADD_DEPENDENCIES() and the DEPENDS option of custom t

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Andrew Maclean
Hi All, Speaking for my site regarding point 2, we would be unwilling to allow general external access to our machines. I would suspect most other sites would feel the same way. >From my viewpoint the process as outlined in http://www.cmake.org/Wiki/CMake/Git seems to work well. The workflow as ou

[CMake] build priority

2010-09-15 Thread Serghei Amelian
Hi, Is any way to tell cmake to build a target before beginning to start compiling another one? For example, i need target "dcopidl" to be exists before generating *.kidl files. Thanks -- Serghei ___ Powered by www.kitware.com Visit other Kitware o

[CMake] CPU identification

2010-09-15 Thread Chris Hillery
CTest, when submitting a dashboard, apparently has the ability to introspect quite a lot of information about the system it is running on, such as the number of CPU cores and so on. Is it possible to get this information in a cmake or ctest script? I see eg. CMAKE_HOST_SYSTEM_PROCESSOR in the docs,

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Richard Wackerbarth
Bill, Some observations on "Dashboard Builds": As you know, I run a number of FreeBSD builds on the "Nightly" branch. I had not been running "2.8" builds, etc. because it was unclear if my builds would be of any real value, but only consume my CPU time and increase my electric bill without prov

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Bill Hoffman
On 9/15/2010 4:20 PM, Bill Hoffman wrote: On 9/15/2010 4:08 PM, norulez wrote: Hello, are there any hopes that the bug 4068 is fixed in the final release? If not, then in which version? Not at this point. The bug report lacks a test cases. If you were to add a test case, and join the cmake-d

Re: [CMake] NO_SOURCE_PERMISSIONS has no effect on FILE(INSTALL ...)

2010-09-15 Thread Angel Tsankov
On 09/16/2010 12:09 AM, Angel Tsankov wrote: Why does FILE(INSTALL ...) try to set permissions on destination files even when I pass NO_SOURCE_PERMISSIONS? This happens when installing a directory: FILE(INSTALL "dir" DESTINATION "/usr/share/icons/oxygen" NO_SOURCE_PERMISSIONS) Is it possib

[CMake] NO_SOURCE_PERMISSIONS has no effect on FILE(INSTALL ...)

2010-09-15 Thread Angel Tsankov
Why does FILE(INSTALL ...) try to set permissions on destination files even when I pass NO_SOURCE_PERMISSIONS? Best regards, Angel Tsankov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/o

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Bill Hoffman
On 9/15/2010 4:08 PM, norulez wrote: Hello, are there any hopes that the bug 4068 is fixed in the final release? If not, then in which version? Not at this point. The bug report lacks a test cases. If you were to add a test case, and join the cmake-developer mailing list. Then you can m

Re: [CMake] add_dependency on a custom target

2010-09-15 Thread Michael Hertling
On 09/15/2010 05:15 PM, Nick Davidson wrote: > Whoops, forgot to reply on list, sorry! > >> From: cmake-boun...@cmake.org >> [mailto:cmake-boun...@cmake.org] On Behalf Of Andreas Pakulat >> Sent: 15 September 2010 13:03 >> To: cmake@cmake.org >> Subject: Re: [CMake] add_dependency on a custom targ

[CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread norulez
Hello, are there any hopes that the bug 4068 is fixed in the final release? If not, then in which version? Thanks in advance Best Regards NoRulez ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opens

Re: [CMake] FindLibrary only looks for lib under Windows

2010-09-15 Thread John Drescher
> Am Wednesday 15 September 2010 schrieb David Cole: >> find_library always looks for *.lib files on Windows. Those are the ones >> that need to be passed to the linker. The *.dll files are the ones that >> need to be there at runtime in order to run correctly. >> >> This behavior is intended, by d

Re: [CMake] FindLibrary only looks for lib under Windows

2010-09-15 Thread Rolf Eike Beer
Am Wednesday 15 September 2010 schrieb David Cole: > find_library always looks for *.lib files on Windows. Those are the ones > that need to be passed to the linker. The *.dll files are the ones that > need to be there at runtime in order to run correctly. > > This behavior is intended, by design,

[CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-15 Thread David Cole
I am happy to announce that CMake 2.8.3 has entered the release candidate stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D Following is the list of changes in this release. (If you notice something missing please let me know and I will add it to the offici

Re: [CMake] add_dependency on a custom target

2010-09-15 Thread David Cole
On Wed, Sep 15, 2010 at 11:15 AM, Nick Davidson wrote: > Whoops, forgot to reply on list, sorry! > > > From: cmake-boun...@cmake.org > > [mailto:cmake-boun...@cmake.org] On Behalf Of Andreas Pakulat > > Sent: 15 September 2010 13:03 > > To: cmake@cmake.org > > Subject: Re: [CMake] add_dependency o

Re: [CMake] cmake -E compare_files - end of line character

2010-09-15 Thread Chris Hillery
It would be nice if compare_files did this, but really this is a problem that should be handled by your source-control system, I think. Subversion, for example, will ensure that text files are checked out with locally-appropriate line endings, at least if you ask it nicely. I'm pretty sure the same

Re: [CMake] add_dependency on a custom target

2010-09-15 Thread Nick Davidson
Whoops, forgot to reply on list, sorry! > From: cmake-boun...@cmake.org > [mailto:cmake-boun...@cmake.org] On Behalf Of Andreas Pakulat > Sent: 15 September 2010 13:03 > To: cmake@cmake.org > Subject: Re: [CMake] add_dependency on a custom target > > On 15.09.10 12:34:43, Nick Davidson wrote: > >

Re: [CMake] add_dependency on a custom target

2010-09-15 Thread Andreas Pakulat
On 15.09.10 12:34:43, Nick Davidson wrote: > Dear List, > > I'm using a file glob to extract a list of xml files to pass to a custom > target to generate > a pot file with getttext, most of the heavy lifting is handled by a > Macro. > > include(FindMsgfmt) > macro (MakePot BIN_NAME CPP_SOURCES XM

[CMake] add_dependency on a custom target

2010-09-15 Thread Nick Davidson
Dear List, I'm using a file glob to extract a list of xml files to pass to a custom target to generate a pot file with getttext, most of the heavy lifting is handled by a Macro. include(FindMsgfmt) macro (MakePot BIN_NAME CPP_SOURCES XML_SOURCES) set(CPP_SRCS ${CPP_SOURCES}) set(XML_SRC

Re: [CMake] FindLibrary only looks for lib under Windows

2010-09-15 Thread David Cole
find_library always looks for *.lib files on Windows. Those are the ones that need to be passed to the linker. The *.dll files are the ones that need to be there at runtime in order to run correctly. This behavior is intended, by design, and is working correctly. HTH, David On Tue, Sep 14, 2010

[CMake] cmake -E compare_files - end of line character

2010-09-15 Thread Olivier Pierard
Dear all, For several testcases validations, I use 'cmake -E compare_files' command on a result file against a reference file. Problem is that result file might be generated on several different platforms while reference file is the same for all platforms. Unfortunately, there is no option in cm