Re: [cmake-developers] New CPackRPM failing on build dir with space in it

2011-03-04 Thread Rolf Eike Beer
Hi All, I know that some new CPackRPM tests are failing http://www.cdash.org/CDash/testDetails.php?test=86188713build=889597 the reason is the build path used contains space which cannot be handled by rpmbuild... I'll fix that tonight and avoid running those tests if build dir contains

Re: [cmake-developers] New CPackRPM failing on build dir with space in it

2011-03-04 Thread Eric Noulard
2011/3/4 Rolf Eike Beer e...@sf-mail.de: Hi All, I know that some new CPackRPM tests are failing http://www.cdash.org/CDash/testDetails.php?test=86188713build=889597 the reason is the build path used contains space which cannot be handled by rpmbuild... I'll fix that tonight and avoid

Re: [cmake-developers] How to deal with assembler files

2011-03-04 Thread Brad King
On 03/03/2011 05:04 PM, Alexander Neundorf wrote: On Thursday 03 March 2011, Brad King wrote: Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the CMakeLists.txt file of the test does not use the

[cmake-developers] [CMake 0011927]: ExternalProject: git clone step always runs when using Visual Studio 10 generator

2011-03-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11927 == Reported By:David Cole Assigned To:

Re: [cmake-developers] Added VisualStudio 9/10 generators for Itanium platform

2011-03-04 Thread Brad King
On 03/02/2011 04:51 AM, Matej Hribernik wrote: Reason for this mail are changes which I have done in head CMake code . I would like to share my changes with you and I would be very grateful for any feedback regarding my changes done in CMake sources. [snip] I have created my own locale branch

Re: [cmake-developers] ninja on Windows

2011-03-04 Thread Brad King
On 02/20/2011 12:38 PM, Peter Kümmel wrote: Here is a very first shot of ninja on Windows: https://github.com/syntheticpp/ninja/tree/qprocess Cool, thanks for starting it! I don't have time to review it in detail right now but we are interested in this :) Thanks, -Brad

[cmake-developers] Developer guide

2011-03-04 Thread Nicolas Desprès
Hi all, I have reported a number of issues and I am willing to contribute. Is there any developer guide apart those links: http://public.kitware.com/Wiki/Git/Workflow/Topic http://www.itk.org/Wiki/CMake/Git http://www.cmake.org/Wiki/CMake_FAQ http://www.cmake.org/Wiki/CMake Also, is there some

[cmake-developers] [CMake 0011928]: Wrong percentage value with Makefile generator.

2011-03-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11928 == Reported By:Nicolas Despres Assigned To:

Re: [cmake-developers] Developer guide

2011-03-04 Thread Nicolas Desprès
2011/3/4 Eric Noulard eric.noul...@gmail.com: Le 4 mars 2011 16:54, Nicolas Desprès nicolas.desp...@gmail.com a écrit : Hi all, I have reported a number of issues and I am willing to contribute.  Is there any developer guide apart those links:

[cmake-developers] [CMake 0011929]: Cmake projects requiring (Intel) Fortran fail to configure and/or generate.

2011-03-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://vtk.org/Bug/view.php?id=11929 == Reported By:MarkR Assigned To:

[cmake-developers] CPack component and packaging ways

2011-03-04 Thread Eric Noulard
Hi All, As of CPack 2.8.4 the component support has been added to ArchiveGenerator and RPM (and NSIS and PackageMaker continue to support component packaging) As explained here; http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack#CPack_Generator_specific_behavior Currently NSIS and

[cmake-developers] [CMake 0011931]: Popup during installation: Warning! PATH too long installer unable to modify PATH!

2011-03-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11931 == Reported By:Andrew Pennebaker Assigned To:

[cmake-developers] [CMake 0011933]: Select File can't select folders when adding a filepath entry

2011-03-04 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11933 == Reported By:Andrew Pennebaker Assigned To:

Re: [CMake] EXTERNALPROJECT_ADD and AlwaysCreate

2011-03-04 Thread Yves Martelli
Dear All, Sorry to repost but I am still stuck with this, would anyone have suggestions? Anyone had the same experience with the UPDATE_COMMAND not working? Thanks, Yves From: Yves Martelli Sent: lunes, 21 de febrero de 2011 15:00 To: 'cmake@cmake.org' Subject: EXTERNALPROJECT_ADD and

Re: [CMake] Problem in escape sequence while add_definition.

2011-03-04 Thread David Cole
add_definitions( -DSTORE=XYZ ) should do what you want. If you have a cmake_minimum_required of at least version 2.6, then the cmake_policy call is unnecessary -- it is simply implied by the minimum required version of CMake for 2.6 and later. What version of CMake are you using? What OS and

Re: [CMake] Default source properties and get_property plus LANGUAGE source propery has no effect.

2011-03-04 Thread Andreas Pakulat
On 04.03.11 14:56:14, Orcun Gokbulut wrote: While I was investigating the problem I came across another problem; I can not read default values of a source property. In more generic terms value of a source file property (I don't known whether this applies to target/directory/global properties)

Re: [CMake] Multiple library configurations with the same output name

2011-03-04 Thread Alexey Livshits
You can definition two different library target and use OUTPUT_NAME property to adjust the name add_library(foo1 ${foo_source}) set_target_properties(foo1 PROPERTIES                                       OUTPUT_NAME foo) add_library(foo2 ${foo_source}) set_target_properties(foo2

Re: [CMake] Default source properties and get_property plus LANGUAGE source propery has no effect.

2011-03-04 Thread Michael Wild
On 03/04/2011 01:56 PM, Orcun Gokbulut wrote: Hi everybody, I came across two problems when I was porting our project build system to cmake. The first program that I encounter is I can not compile generated source files with extension other than default c/c++ extensions. I have

[CMake] CPack and RPM packages

2011-03-04 Thread Laszlo Papp
Hi, Can I create an rpm package with cpack in order to not deal with spec files ? We did not need to put any debian/{changelog,rules,control} files related implementation into the project so that to build a debian package for arm with cpack.

Re: [CMake] CPack and RPM packages

2011-03-04 Thread Eric Noulard
2011/3/4 Laszlo Papp djsz...@archlinux.us: Hi, Can I create an rpm package with cpack in order to not deal with spec files ? Yes you can CPackRPM is meant to do that: http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 The fastest path is to try: $ cd /path/to/builddir

Re: [CMake] Multiple library configurations with the same output name

2011-03-04 Thread Alexey Livshits
I am not a Visual Studio user so I may be missing your point here but why having foo_1 and foo_2 ending up in the same workspace is a problem? As long as the lib/dll end up in separate dirs (using *_OUTPUT_DIRECTORY). Workspaces become too large, so I would like make'em smaller. Should work

Re: [CMake] Multiple library configurations with the same output name

2011-03-04 Thread Eric Noulard
2011/3/4 Alexey Livshits livch...@web.de: I am not a Visual Studio user so I may be missing your point here but why having foo_1 and foo_2 ending up in the same workspace is a problem? As long as the lib/dll end up in separate dirs (using *_OUTPUT_DIRECTORY). Workspaces become too large, so

Re: [CMake] Multiple library configurations with the same output name

2011-03-04 Thread Yuri Timenkov
Hi Alexey, Usually there are 2 ways: 1) put them into separate directories (like Debug and Release), probably specifying different output directories or 2) use different file names, say adding suffixes like D, or d8. BTW, what's the point to have different configurations in the same workspace

Re: [CMake] EXTERNALPROJECT_ADD and AlwaysCreate

2011-03-04 Thread David Cole
One other thing. You may try using the NMake Makefiles generator if you must use the VS10 compiler: the dependencies definitely work via the makefiles. I just tried it out... On Fri, Mar 4, 2011 at 10:15 AM, David Cole david.c...@kitware.com wrote: Using: UPDATE_COMMAND is perfectly

[CMake] How to know if symlink is supported

2011-03-04 Thread Nicolas Desprès
Hi everyone, Is there a better way to check whether the platform support symlink than this one: if(WIN32) if(CYGWIN) set(HAVE_SYMLINK TRUE) else(CYGWIN) set(HAVE_SYMLINK FALSE) endif(CYGWIN) else(WIN32) set(HAVE_SYMLINK TRUE) endif(WIN32) Regards, -- Nicolas Desprès

Re: [CMake] Splitting directory and file.

2011-03-04 Thread Pablo Zurita
Yeah I was aware of that, I forgot to state that on the comment for the function. This was made on purpose since I don't want the pain of adding every file to CMake and I certainly don't want CMake running automatically. Thanks, Pablo Zurita. PS: the sourceFiles argument must be removed from

[CMake] PREDEFINED_TARGETS_FOLDER and ALL_BUILD Target

2011-03-04 Thread aaron.meadows
Hi All, I was just trying out the Target folders stuff in 2.8.4. The ALL_BUILD target doesn't seem to be affected by the PREDEFINED_TARGETS_FOLDER property. Is that by design or an oversight? Aaron Meadows Software Engineer Thomson Reuters Phone: 314.468.3530 Mobile: 636.541.6139

[CMake] find_package(Qt4 REQUIRED) doesn't include QtNetwork?

2011-03-04 Thread kent williams
To use Qt in my projects with CMake, up until now all it seemed to require was this: find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) But then I tried to use QTcpServer and QTcpSocket, and the compiles failed because it couldn't find the include files. Then I read through the FindQt4.cmake

Re: [CMake] PREDEFINED_TARGETS_FOLDER and ALL_BUILD Target

2011-03-04 Thread aaron.meadows
Is there some reason that couldn't be a property as well? Or possibly a Policy? 2) why does ALL_BUILD need to be the default project - This one I can't answer. I don't understand why it even is the default startup project anyhow. As such, it's useless. It seems to me that

Re: [CMake] find_package(Qt4 REQUIRED) doesn't include QtNetwork?

2011-03-04 Thread Clinton Stimpson
On Friday, March 04, 2011 11:59:07 am kent williams wrote: To use Qt in my projects with CMake, up until now all it seemed to require was this: find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) But then I tried to use QTcpServer and QTcpSocket, and the compiles failed because it

Re: [CMake] CPack and RPM packages

2011-03-04 Thread Eric Noulard
2011/3/4 Laszlo Papp djsz...@archlinux.us: On Fri, Mar 4, 2011 at 3:05 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/3/4 Laszlo Papp djsz...@archlinux.us: Hi, Can I create an rpm package with cpack in order to not deal with spec files ? Yes you can CPackRPM is meant to do that:

[CMake] Cmake with Cray Fortran

2011-03-04 Thread Tim Gallagher
Hi, I'm trying to use cmake with the Cray Fortran compiler. The compiler is wrapped through a script called ftn. When I have the PrgEnv-pgi (pgi compiler) or the PrgEnv-gnu modules loaded, it works with no issue. But, when I have it set to PrgEnv-cray, it doesn't work. I manually compiled

[CMake] Cmake with Cray Fortran

2011-03-04 Thread Tim Gallagher
Hi, I'm trying to use cmake with the Cray Fortran compiler. The compiler is wrapped through a script called ftn. When I have the PrgEnv-pgi (pgi compiler) or the PrgEnv-gnu modules loaded, it works with no issue. But, when I have it set to PrgEnv-cray, it doesn't work. I manually compiled

[Cmake-commits] CMake branch, next, updated. v2.8.4-1085-g4d54531

2011-03-04 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 4d54531341664fdc8e07d8892aa90ebcfe0f7a44 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1088-g5bdb411

2011-03-04 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 5bdb41118dc7b529c1180d5253081958b2ff5429 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1097-g44c437e

2011-03-04 Thread Eric Noulard
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 44c437ea65b58ed05f9e2ba80c2471dc0f852dbf (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1099-geb92381

2011-03-04 Thread Eric Noulard
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via eb92381eb6cb509b5f64f295a2ed85ff16b17e43 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1101-ge8f3c30

2011-03-04 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e8f3c307077bb50011019608c535bfa11aa6d781 (commit) via