[cmake-developers] [CMake 0012901]: CPack should be able to set owner of files in the archive

2012-01-20 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12901 == Reported By:Nikita Krupen'ko Assigned To:

Re: [cmake-developers] valgrind errors

2012-01-20 Thread Rolf Eike Beer
On Fri, Jan 20, 2012 at 2:07 AM, Rolf Eike Beer e...@sf-mail.de wrote: Bill Hoffman wrote: We seems to have some valgrind errors on the dashboard: http://www.cdash.org/CDash/viewDynamicAnalysisFile.php?id=2554459 Seems to have started with this day:

Re: [cmake-developers] FindPythonInterp.cmake an different major versions

2012-01-20 Thread Brad King
On 1/20/2012 2:51 AM, Rolf Eike Beer wrote: As Brad said it is ok I've merged it to next yesterday. This adds version selection: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0fe4d69b6f5cfa4c2cd7afc6c0a42eb03638b712 And this is an add-on patch that fixes the parsing of the version

Re: [cmake-developers] [PATCH] FindPackageHandleStandardArgs: fix documentation

2012-01-20 Thread Brad King
On 1/19/2012 2:41 PM, Yury G. Kudryashov wrote: State explicitly what CONFIG_MODE argument does. [snip] -# a find_package(... NO_MODULE) call, in this case all the information -# provided by the config-mode of find_package() will be evaluated -# automatically. +# a find_package(... NO_MODULE)

Re: [cmake-developers] valgrind errors

2012-01-20 Thread David Cole
On Fri, Jan 20, 2012 at 7:51 AM, Rolf Eike Beer e...@sf-mail.de wrote: On Fri, Jan 20, 2012 at 2:07 AM, Rolf Eike Beer e...@sf-mail.de wrote: Bill Hoffman wrote: We seems to have some valgrind errors on the dashboard: http://www.cdash.org/CDash/viewDynamicAnalysisFile.php?id=2554459 Seems

Re: [cmake-developers] [PATCH] FindPackageHandleStandardArgs: fix documentation

2012-01-20 Thread Yury G. Kudryashov
Brad King wrote: On 1/19/2012 2:41 PM, Yury G. Kudryashov wrote: State explicitly what CONFIG_MODE argument does. [snip] -# a find_package(... NO_MODULE) call, in this case all the information -# provided by the config-mode of find_package() will be evaluated -# automatically. +# a

Re: [cmake-developers] [PATCH] FindPackageHandleStandardArgs: fix documentation

2012-01-20 Thread Brad King
On 1/20/2012 8:57 AM, Yury G. Kudryashov wrote: Brad King wrote: I do not think that explanation is correct. The find_package command in Config mode will set everything as needed. Yes, so the old explanation is incorrect. The role of the CONFIG_MODE option is to produce a nice error message

Re: [cmake-developers] Support for imported targets in CMAKE_REQUIRED_LIBRARIES

2012-01-20 Thread Brad King
On 1/19/2012 11:49 AM, Alexander Neundorf wrote: On Thursday 19 January 2012, Brad King wrote: I think a full solution to this will end up duplicating a lot of the logic that CMake already has in its C++ code for link dependency analysis. I wonder if instead you could modify the signature of

Re: [cmake-developers] valgrind errors

2012-01-20 Thread Rolf Eike Beer
David Cole wrote: On Fri, Jan 20, 2012 at 7:51 AM, Rolf Eike Beer e...@sf-mail.de wrote: On Fri, Jan 20, 2012 at 2:07 AM, Rolf Eike Beer e...@sf-mail.de wrote: Bill Hoffman wrote: We seems to have some valgrind errors on the dashboard:

Re: [cmake-developers] Tests directory layout

2012-01-20 Thread Brad King
On 1/20/2012 1:16 PM, Rolf Eike Beer wrote: What I currently know is: -if tests run in CMake script mode, they should go in CMakeTests -if they need to run CMake in configure mode, but don't build anything, they should go in CMakeOnly -if they test something from the Modules directory, but do

Re: [cmake-developers] Tests directory layout (was: valgrind errors)

2012-01-20 Thread David Cole
On Fri, Jan 20, 2012 at 1:16 PM, Rolf Eike Beer e...@sf-mail.de wrote: David Cole wrote: On Fri, Jan 20, 2012 at 7:51 AM, Rolf Eike Beer e...@sf-mail.de wrote: On Fri, Jan 20, 2012 at 2:07 AM, Rolf Eike Beer e...@sf-mail.de wrote: This introduced a new directory Tests/Syntax and a first

Re: [cmake-developers] [PATCH] FindPackageHandleStandardArgs: fix documentation

2012-01-20 Thread Alexander Neundorf
On Friday 20 January 2012, Brad King wrote: On 1/20/2012 8:57 AM, Yury G. Kudryashov wrote: Brad King wrote: I do not think that explanation is correct. The find_package command in Config mode will set everything as needed. Yes, so the old explanation is incorrect. The role of

[CMake] execute a script before and after configuration

2012-01-20 Thread Dominik Szczerba
Hi, I am building a big software framework on a cray system whereby during cmake configuration phase I need to unload certain system modules (so that some small test programs are allowed to run without scheduler) and afterwards, before the actual build phase starts, I need to load them back.

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Rolf Eike Beer
Hi, I am building a big software framework on a cray system whereby during cmake configuration phase I need to unload certain system modules (so that some small test programs are allowed to run without scheduler) and afterwards, before the actual build phase starts, I need to load them

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Dominik Szczerba
Nice idea, but this internal variable gets overwritten and resets back to the system cmake... any ideas? Thanks Dominik On Fri, Jan 20, 2012 at 2:06 PM, Rolf Eike Beer e...@sf-mail.de wrote: Hi, I am building a big software framework on a cray system whereby during cmake configuration phase

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Dominik Szczerba
Hmmm I managed to force it by cmake -DCMAKE_COMMAND=/users/dsz/bin/mycmake and it indeed appears now in the cache file, but it does not seem to unload/reload the modules, so I guess it is not used instead of cmake... else how can I check if it is invoked? Thanks a lot On Fri, Jan 20, 2012 at

[CMake] What am I doing wrong with FIND_PATH???

2012-01-20 Thread Dick Munroe
I'm executing the following: FIND_PATH(ESPLANNER_INSTALL_PATH C:/Program Files/ESPlanner E:/Program Files/ESPlanner ) Looking for the directory in which this package is installed. Looking at the two disks, C: and E:, I can see the following directory: E:/Program Files/ESPlanner

Re: [CMake] What am I doing wrong with FIND_PATH???

2012-01-20 Thread Andreas Pakulat
On 20.01.12 08:31:52, Dick Munroe wrote: I'm executing the following: FIND_PATH(ESPLANNER_INSTALL_PATH C:/Program Files/ESPlanner E:/Program Files/ESPlanner ) Looking for the directory in which this package is installed. Looking at the two disks, C: and E:, I can see the

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Phil Smith
Still no answer to these questions? -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Phil Smith Sent: Tuesday, January 03, 2012 1:29 PM To: Brad King Cc: cmake@cmake.org; b...@public.kitware.com; Hoffman; Janet Graff Subject: Re: [CMake]

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Brad King
On 1/3/2012 1:29 PM, Phil Smith wrote: If I comment out line 29 in CMakeDetermineCompilerId.cmake, it works with my old toolchain file [snip] So -- why are semicolons being inserted? The change was discussed here: http://www.cmake.org/pipermail/cmake/2010-March/035810.html

Re: [CMake] parallel make -j N

2012-01-20 Thread Andrea Galeazzi
Title: korg Firma Andre Heider ha scritto: On Tue, Jan 17, 2012 at 10:32 AM, Andrea Galeazzi galea...@korg.it wrote: Yes but I'm using MinGW make (on Windows machine), the interpreter is GNU make on Windows doesn't support the jobserver, so whenever you Makefile starts

[CMake] Need a configure_string() command

2012-01-20 Thread Robert Dailey
I'm trying to develop some scripts that will take a portion of the vcproj.user file, specifically the Configuration portion, which is located in a separate file, and append it (N) number of times to a file, where N equals the number of configurations we have. Ideally I will start by using file()

Re: [CMake] Need a configure_string() command

2012-01-20 Thread David Cole
See the docs for: string(CONFIGURE ...) http://cmake.org/cmake/help/cmake-2-8-docs.html#command:string That should help... :-) David On Fri, Jan 20, 2012 at 11:09 AM, Robert Dailey rcdai...@gmail.com wrote: I'm trying to develop some scripts that will take a portion of the vcproj.user

Re: [CMake] User configuration files for Visual Studio

2012-01-20 Thread Robert Dailey
Any thoughts on this guys? Here are my ideas for this: For VS8 and VS9: CMake will only generate the my_project.vcproj.user files. Visual Studio will NOT use these unless you delete your *other* user file, which is in the format of: my_project.vcproj.COMPUTER.USER.user. If the user wishes to

Re: [CMake] Need a configure_string() command

2012-01-20 Thread Robert Dailey
Thanks! I wouldn't call CMake confusing, but it sure is unpredictable in how things are laid out :P - Robert Dailey On Fri, Jan 20, 2012 at 10:14 AM, David Cole david.c...@kitware.com wrote: See the docs for: string(CONFIGURE ...)

Re: [CMake] User configuration files for Visual Studio

2012-01-20 Thread James Bigler
On Fri, Jan 20, 2012 at 9:17 AM, Robert Dailey rcdai...@gmail.com wrote: Any thoughts on this guys? Here are my ideas for this: For VS8 and VS9: CMake will only generate the my_project.vcproj.user files. Visual Studio will NOT use these unless you delete your *other* user file, which is in

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Phil Smith
Ah. Yes, it does solve the problem. This isn't path-related, however, it's option-related. This is on Windows. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Friday, January 20, 2012 10:03 AM To: Phil Smith Cc: Janet Graff; cmake@cmake.org; Bill Hoffman Subject:

[CMake] CMake beginner question

2012-01-20 Thread Ali Habib
I want to build VTK for IOS, how can I adjust the CMake files to do that, any suggestions ideas will be highly appreciated Best regards -- 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

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Brad King
On October 24, 2011 6:08 PM Bill Hoffman wrote: So, right at the end it is doing this: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake(96): EXECUTE_PROCESS(COMMAND ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_ARG1}

Re: [CMake] CMake + Ninja

2012-01-20 Thread Clifford Yapp
Confirmed - working now on Mac building BRL-CAD - thanks! Cliff On Sat, Jan 14, 2012 at 3:25 PM, Peter Collingbourne pe...@pcc.me.uk wrote: I managed to test these changes on a Mac and it fixed all but 7 test failures, so I rolled it into the ninja-generator-pr branch. In terms of

[CMake] OS X QT Gui build question

2012-01-20 Thread Steven Wilson
When building the 2.8.7 CMake sources with the following configuration: cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=../path/to/install -DBUILD_QtDialog:BOOL=ON ../cmake I get the following error when doing a 'make install' - Installing:

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Phil Smith
I'm confused because neither of your examples has the semicolon, but what we need is: regina.exe cc.rex dcc.exe CMakeCCompilerId.c But it sounds like you're saying that we're not actually getting invoked as: cc.rex;dcc.exe CMakeCCompilerId.c The problem is, I can't tell what we ARE

Re: [CMake] Compile multiple-sources at a time?

2012-01-20 Thread Eric Noulard
2012/1/20 Oliver kfsone Smith osm...@playnet.com: Eric Noulard said the following on 1/20/2012 1:26 AM: 2012/1/19 Oliver kfsone Smithosm...@playnet.com: I realize not every build environment supports the option, but is there a way to get CMake to generate Makefiles which aggregate source

Re: [CMake] CMake still broken post-2.8.1

2012-01-20 Thread Brad King
On 1/20/2012 4:37 PM, Phil Smith wrote: I'm confused because neither of your examples has the semicolon, I was asking which one you need, so neither option has semicolons. but what we need is: regina.exe cc.rex dcc.exe CMakeCCompilerId.c Okay. But it sounds like you're saying that

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread Michael Hertling
On 01/20/2012 01:57 PM, Dominik Szczerba wrote: Hi, I am building a big software framework on a cray system whereby during cmake configuration phase I need to unload certain system modules (so that some small test programs are allowed to run without scheduler) and afterwards, before the

Re: [CMake] Compile multiple-sources at a time?

2012-01-20 Thread Michael Hertling
On 01/19/2012 11:09 PM, Oliver kfsone Smith wrote: I realize not every build environment supports the option, but is there a way to get CMake to generate Makefiles which aggregate source files, e.g. $ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp $ g++ -pipe -o exeutable file1.cpp

Re: [CMake] Fwd: building libs and specifying addition folders

2012-01-20 Thread Michael Hertling
On 01/19/2012 08:15 AM, Dev Guy wrote: On Thu, Jan 19, 2012 at 1:01 AM, John Drescher dresche...@gmail.com wrote: -- Forwarded message -- From: John Drescher dresche...@gmail.com Date: Thu, Jan 19, 2012 at 1:00 AM Subject: Re: [CMake] building libs and specifying addition

[CMake] Two C Compilers

2012-01-20 Thread John David Duncan
Hi, I'm looking at building a large project on Windows. I am currently able to build the whole project using CMake and Visual Studio. Now I'd like to add a subproject (or just a directory), but in this particular subdirectory the C language files need to be compiled with mingw (because

[CMake] Issue with ExternalProject_add at make_directory build

2012-01-20 Thread Chris Sigman
Hi all, I'm trying to build boost with ExternalProject_add using cmake 2.8.7, and there seems to be an error in the makefile it's generating. Specifically, in the step where it created the directories, the makefile ends up with this line: /apps/cmake/cmake-2.8.7/bin/cmake -E make_directory

Re: [CMake] execute a script before and after configuration

2012-01-20 Thread David Cole
On Friday, January 20, 2012, Michael Hertling mhertl...@online.de wrote: On 01/20/2012 01:57 PM, Dominik Szczerba wrote: Hi, I am building a big software framework on a cray system whereby during cmake configuration phase I need to unload certain system modules (so that some small test

Re: [CMake] Two C Compilers

2012-01-20 Thread David Cole
On Friday, January 20, 2012, John David Duncan john.dun...@oracle.com wrote: Hi, I'm looking at building a large project on Windows. I am currently able to build the whole project using CMake and Visual Studio. Now I'd like to add a subproject (or just a directory), but in this particular

Re: [CMake] Issue with ExternalProject_add at make_directory build

2012-01-20 Thread David Cole
On Friday, January 20, 2012, Chris Sigman cypri...@gmail.com wrote: Hi all, I'm trying to build boost with ExternalProject_add using cmake 2.8.7, and there seems to be an error in the makefile it's generating. Specifically, in the step where it created the directories, the makefile ends up with

Re: [CMake] Bug fix requests for the *next* release of CMake...

2012-01-20 Thread A A
http://public.kitware.com/Bug/view.php?id=10094 http://public.kitware.com/Bug/view.php?id=9905 (Might be fixed already) -- 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

[Cmake-commits] CMake branch, next, updated. v2.8.7-2165-g877a660

2012-01-20 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 877a66060bec7fccb853de8e0cb14aab8bebe4e8 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2169-g9f6bdd0

2012-01-20 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 9f6bdd0708b0f6ac1a522905410b0f6ac293ce60 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2171-g8a9d4a1

2012-01-20 Thread Rolf Eike Beer
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 8a9d4a172f0a245061bd0eb47b0005613d5fef56 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2173-gaf59a3b

2012-01-20 Thread Rolf Eike Beer
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 af59a3be118a01c42a6cd8e4ec3aa99b8c862ec6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2177-gaababf9

2012-01-20 Thread Clinton Stimpson
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 aababf9947a4e35ee708c40f2b9146bbf8f887a2 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.7-143-ga668c9f

2012-01-20 Thread KWSys Robot
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, master has been updated via a668c9f059cebad61138511f7e91fbe49a414666 (commit) from