Re: [cmake-developers] Pushing to next and closing bugs?

2010-07-06 Thread Eric Noulard
2010/7/5 Bill Hoffman bill.hoff...@kitware.com: So, although not perfect, I prefer to close the bug when it is checked in to next.   My reason is that we have wa too many bugs open as it is.  I don't want to have to wait on the reporter to close it, as often times they have lost interest

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

2010-07-06 Thread Marcel Loose
Here's my list of issues that I would like to see fixed. 0010771 FindMPI does not set all required compile flags - Modules - 2010-05-28 03:50 0010335 FIND_XXX problem with symlinks when using ENV - CMake - 2010-02-26 08:42 0010202 CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE weird behaviour -

Re: [CMake] Recursive list append

2010-07-06 Thread Marcel Loose
Hi Andreas, Use 'set(variable value PARENT_SCOPE])'. This will set the variable in the scope directly above the current scope. Remember that each add_subdirectory() will create a new scope. HTH, Marcel Loose. On Tue, 2010-07-06 at 10:06 +0200, Diablo 666 wrote: Hi, say I create a list in

Re: [CMake] Recursive list append

2010-07-06 Thread Michael Wild
On 6. Jul, 2010, at 10:06 , Diablo 666 wrote: Hi, say I create a list in the top level CMakeLists.txt and call a subdirectory. The subdirectory should add some entries to the list, then the top level should use the full list. How can I accomplish this? Best regards, Andreas Either

Re: [CMake] Recursive list append

2010-07-06 Thread Diablo 666
If I use SET with PARENT_SCOPE, wouldn't this delete old entries? Say I have more than one subdirectory. Can I append entries from both subdirectories this way? _

Re: [CMake] Recursive list append

2010-07-06 Thread Michael Wild
On 6. Jul, 2010, at 10:41 , Diablo 666 wrote: If I use SET with PARENT_SCOPE, wouldn't this delete old entries? Say I have more than one subdirectory. Can I append entries from both subdirectories this way? CMakeLists.txt: ### set(some_list val1 val2 val3)

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

2010-07-06 Thread Bo Thorsen
Den 05-07-2010 20:31, David Cole skrev: If you have a particular issue that you think should be fixed for inclusion in 2.8.3, please bring it up now. Ideally, each issue will be discussed as needed on the mailing list to come to any consensus about what should be done to fix it, and then an

Re: [CMake] cpack -C

2010-07-06 Thread Bo Thorsen
Den 01-07-2010 15:39, Bo Thorsen skrev: When I give an argument to -C, can this be used in the INSTALL commands? Not possible :( I have added a feature request here: http://public.kitware.com/Bug/view.php?id=10940 Bo Thorsen. Monty Program AB. -- MariaDB: MySQL replacement Community

Re: [CMake] Recursive list append

2010-07-06 Thread Diablo 666
CMakeLists.txt: ### set(some_list val1 val2 val3) add_subdirectory(subdir) message(STATUS some_list = ${some_list}) subdir/CMakeLists.txt: ## # append in local scope list(APPEND some_list val4 val5 val6) # set in parent scope set(some_list ${some_list}

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

2010-07-06 Thread Aeschbacher, Fabrice
Hi, I think the PROJECT_GROUP patch could be really nice for many of us: http://public.kitware.com/Bug/view.php?id=3796 Best regards, Fabrice Aeschbacher Von: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Im Auftrag von David Cole Gesendet: Montag,

[CMake] Is this page outdated? http://www.cmake.org/Wiki/BuildingWinDLL

2010-07-06 Thread Fred Fred
Because I tried it but it did not work: - the first error is due to this line: static MYLIB_EXPORT vtkFiniteDifference *New(); that is I followed the advice at the end of the cmake page: If you have some static functions then you will need something like the following: class

Re: [CMake] Is this page outdated? http://www.cmake.org/Wiki/BuildingWinDLL

2010-07-06 Thread Michael Jackson
The wiki page you cite is still relevant for cmake/visual studio with shared libraries. You do NOT need this line in your CMakeLists.txt file: ADD_LIBRARY(vtkFiniteDifference SHARED vtkFiniteDifference.cxx) The ADD_PARAVIEW_PLUGIN should do that for you. class MyStaticFunctionClass {

Re: [CMake] Is this page outdated? http://www.cmake.org/Wiki/BuildingWinDLL

2010-07-06 Thread David Cole
If you want the constructor exported, you should export the class (which exports all of its public API), not a single function within the class. Also, if you export a class, all of its parent classes should also be exported. On Tue, Jul 6, 2010 at 7:56 AM, Fred Fred stan1...@hotmail.fr wrote:

Re: [CMake] [PATCH] bootstrap: Detect known C/C++ compiler toolchains

2010-07-06 Thread Brad King
On 07/03/2010 12:18 AM, Todd Gamblin wrote: This patch works on dawndev (BG/P FEN) at LLNL. Great, thanks for testing. I've published it to 'next': http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2ad2c2d7 -Brad ___ Powered by www.kitware.com

[CMake] Upgraded to cmake-2.8.2 on windows7 and now it will not work

2010-07-06 Thread John Drescher
I was using 2.8.1 and previous cmake versions for a long time without any problems. Also 2.8.2 works for the same project on 64 bin xp. CMake Error: CMake was unable to find a build program corresponding to Visual Studio 8 2005. CMAKE_MAKE_PROGRAM is not set. You probably need to select a

Re: [CMake] Upgraded to cmake-2.8.2 on windows7 and now it will not work

2010-07-06 Thread John Drescher
On Tue, Jul 6, 2010 at 12:50 PM, John Drescher dresche...@gmail.com wrote: I was using 2.8.1 and previous cmake versions for a long time without any problems. Also 2.8.2 works for the same project on 64 bin xp. CMake Error: CMake was unable to find a build program corresponding to Visual

[CMake] problems with creating static library on aix

2010-07-06 Thread Verweij, Arjen
Hi, We're experiencing two problems with creating static libraries through cmake on our AIX system. The first one is that a cmake based build environment will come up with 64-bit XCOFF, but ar and friends won't play ball unless you add -X64. I suppose this issue has just been overlooked and

[CMake] contribution: FindMySQL.cmake

2010-07-06 Thread Arnaud GELAS
Hi guys, We have been for our own projects the following file to find mysql packages, and I would like to contribute it to the community. Note: it works fine for MySQL 5.1 on Windows (tested on XP and 7), Mac (tested on 10.5 and 10.6) and Linux. I guess it could be improved for other version

Re: [CMake] contribution: FindMySQL.cmake

2010-07-06 Thread Michael Wild
On 6. Jul, 2010, at 21:01 , Arnaud GELAS wrote: Hi guys, We have been for our own projects the following file to find mysql packages, and I would like to contribute it to the community. Note: it works fine for MySQL 5.1 on Windows (tested on XP and 7), Mac (tested on 10.5 and 10.6)

[CMake] find_path() and directories

2010-07-06 Thread Clinton Stimpson
Can find_path() be used to find a directory containing a directory or directories? For example: find_path(MY_DIR NAMES subdir) It seems to work on Linux, but the docs say it is for finding directories containing files. Thanks, Clint ___ Powered by

Re: [CMake] Different configurations with Visual Studio

2010-07-06 Thread Tyler Roscoe
On Mon, Jul 05, 2010 at 01:31:41PM +0200, Mark Van Peteghem wrote: I see, thanks. I intend to write a Python script that adds the extra platform solution, because we really need that. Visual Studio and Code::Blocks project files are XML files, so it shouldn't be too hard. If possible, I would

Re: [CMake] Different configurations with Visual Studio

2010-07-06 Thread Tyler Roscoe
On Mon, Jul 05, 2010 at 10:47:32AM -0400, John Drescher wrote: What is wrong with different build folders for each compiler / ide? I'm interested in an answer to this question as well. For me, the biggest thing is that it's what VS developers are accustomed to. I've been educating it out of

[Cmake-commits] CMake branch, next, updated. v2.8.2-190-g0a250a1

2010-07-06 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 0a250a1cc3c3607cc2ee828c4d955f0a1621dd6a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-47-gfd3e95f

2010-07-06 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, master has been updated via fd3e95f3efe1eb1bb4df5a5005938b0ea0c1b665 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-51-g28a16d1

2010-07-06 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, master has been updated via 28a16d1cc45c23caeb185d20f0a0a83d51c3bbeb (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-53-g9fbf644

2010-07-06 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, master has been updated via 9fbf64445d4e7831c10de533fffcd8aca7bb96be (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-58-g48ac818

2010-07-06 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, master has been updated via 48ac8180db56bc7988c2839b72bc134afdb10fb6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-204-gbceda51

2010-07-06 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 bceda51971467484575ef092447cd738bf707669 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-206-gaf1665d

2010-07-06 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 af1665dbec7495f9568eda74fda0a95d8c50e0cb (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-208-g9ff017d

2010-07-06 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 9ff017da561985782af6b5d4b45f5c070ad3ce26 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-59-gf2dc6a6

2010-07-06 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 f2dc6a664d0c27e9d588cc8ae43ae00bb39a7c97 (commit) from