Re: [cmake-developers] Generating information for C++ tools in cmake (patch)

2011-05-19 Thread Brad King
On 05/17/2011 10:43 AM, Manuel Klimek wrote: Wow. Well, the language (and thus the stl) and the compilers have evolved - sometimes it's a shame if one has to support old versions that even the compiler writers would consider broken, but there is no choice - thanks for showing those corner

[CMake] Fortran issue

2011-05-19 Thread AMARNATH, Balachandar
Hi, I am trying to build MPF package in windows using intel compilers and i end up with the following error. ***Check for working Fortran compiler using: Visual Studio 10 Check for working C compiler using: Visual Studio 10 Check for working C compiler using:

Re: [CMake] Excluding definitions for source files

2011-05-19 Thread Robert Bielik
Robert Bielik skrev 2011-05-19 07:57: I have a problem where I need to be able to select Unicode build or not, but at the same time 3 files of my project MUST NOT have Unicode enabled. Is there a way to remove compile definitions for certain source files ? Oh, and I cannot extract those 3

Re: [CMake] Fortran issue

2011-05-19 Thread Michael Hertling
On 05/19/2011 08:14 AM, AMARNATH, Balachandar wrote: Hi, I am trying to build MPF package in windows using intel compilers and i end up with the following error. ***Check for working Fortran compiler using: Visual Studio 10 Check for working C compiler

Re: [CMake] Excluding definitions for source files

2011-05-19 Thread Andrea Galeazzi
No, you can only add the compile definitions to the other files. You should split all files into two lists and set the compile definition for unicode to just one. Andrea Il 19/05/2011 7.57, Robert Bielik ha scritto: Robert Bielik skrev 2011-05-19 07:55: Hi, CMake 2.8.4 , MSVC generators: I

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-19 Thread NoRulez
Sorry for the missing information. I use CMake 2.8.4 and have also Visual Studio 2008 installed. Best Regards Am 19.05.2011 um 05:52 schrieb Clinton Stimpson clin...@elemtech.com: What version of cmake? I don't think that QtTest example worked until CMake 2.8.3. And you have dumpbin

Re: [CMake] Excluding definitions for source files

2011-05-19 Thread Michael Hertling
On 05/19/2011 08:18 AM, Robert Bielik wrote: Robert Bielik skrev 2011-05-19 07:57: I have a problem where I need to be able to select Unicode build or not, but at the same time 3 files of my project MUST NOT have Unicode enabled. Is there a way to remove compile definitions for certain

[CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Stiaan Gerber
Dear list On Windows, MinGW (gcc 4.5.2), CMake 2.8.4. I have a project building two executables. The first one builds correctly. On the second one it appears to me as though CMake adds flags to link to the standard MinGW libraries (mingw32, moldname, mingwex, ...) with an incorrect .lib

[CMake] --start-group, --end-group

2011-05-19 Thread Anton Sibilev
Hello! I'm wondering how I can use --start-group archives --end-group linker flags with Unix Makefiles. May be somebody know the right way? ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] Which variable stores all (sub) directories added sofar?

2011-05-19 Thread J.S. van Bethlehem
Hello, Given that CMake errs when you try to some sub-directory twice using add_subdirectory() I presume there is some variable that stores a list of the directories that were added to the build sofar. But I can't find the name of the variable. Does it exists (well... better would be: is it

Re: [CMake] Which variable stores all (sub) directories added sofar?

2011-05-19 Thread Rolf Eike Beer
Am Donnerstag, 19. Mai 2011, 12:22:32 schrieb J.S. van Bethlehem: Hello, Given that CMake errs when you try to some sub-directory twice using add_subdirectory() I presume there is some variable that stores a list of the directories that were added to the build sofar. But I can't find the

Re: [CMake] Which variable stores all (sub) directories added sofar?

2011-05-19 Thread J.S. van Bethlehem
On 05/19/2011 12:47 PM, Rolf Eike Beer wrote: Am Donnerstag, 19. Mai 2011, 12:22:32 schrieb J.S. van Bethlehem: Hello, Given that CMake errs when you try to some sub-directory twice using add_subdirectory() I presume there is some variable that stores a list of the directories that were added

Re: [CMake] --start-group, --end-group

2011-05-19 Thread Michael Hertling
On 05/19/2011 11:11 AM, Anton Sibilev wrote: Hello! I'm wondering how I can use --start-group archives --end-group linker flags with Unix Makefiles. May be somebody know the right way? You might specify these flags immediately in TARGET_LINK_LIBRARIES(): CMAKE_MINIMUM_REQUIRED(VERSION 2.8

Re: [CMake] Forcing CMake to never search install path

2011-05-19 Thread Michael Hertling
On 05/16/2011 10:08 PM, Clifford Yapp wrote: On Mon, May 16, 2011 at 4:00 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: So you basically want an opposite to HINTS and PATHS, like e.g. EXCLUDE ? Doesn't sound too bad. Yes, that would work - ideally though I'd like to EXCLUDE the

Re: [CMake] Fortran issue

2011-05-19 Thread Bill Hoffman
On 5/19/2011 3:05 AM, Michael Hertling wrote: Any hint in this error would be gr8 help. :) With thanks and regards Bala http://www.cmake.org/Bug/view.php?id=11517 Should be fixed: http://www.cmake.org/pipermail/cmake/2011-May/044408.html If you grab the nightly build it should work now.

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-19 Thread Matthias Kretz
Hi, On Tuesday 10 May 2011 21:47:41 Alexander Neundorf wrote: Are you using cmake = 2.8 ? If so, there the switch CTEST_USE_LAUNCHERS. If this is set in your ctest- script, the output parsing works better. After I set CTEST_USE_LAUNCHERS (I didn't change anything else at the same time), all

Re: [CMake] --start-group, --end-group

2011-05-19 Thread gekso
Thanks, Michael. TARGET_LINK_LIBRARIES and link flags work fine! 2011/5/19 Michael Hertling mhertl...@online.de: On 05/19/2011 11:11 AM, Anton Sibilev wrote: Hello! I'm wondering how I can use --start-group archives --end-group linker flags with Unix Makefiles. May be somebody know the right

Re: [CMake] Which variable stores all (sub) directories added sofar?

2011-05-19 Thread Eric Noulard
2011/5/19 J.S. van Bethlehem j.s.van.bethle...@astro.rug.nl: Hello Eike, Thanks a lot for your reply. I have actually been thinking in the same direction. I have one problem though: how can you make a truly global variable in CMake? Whenever you do something to a variable in a directory

Re: [CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Yuri Timenkov
May be you should use Cygwin build of CMake? On Thu, May 19, 2011 at 12:46 PM, Stiaan Gerber sger...@sun.ac.za wrote: Dear list On Windows, MinGW (gcc 4.5.2), CMake 2.8.4. I have a project building two executables. The first one builds correctly. On the second one it appears to me as

[CMake] CMake and VS2010

2011-05-19 Thread LaViolette, Alan
I am working on converting to Visual Studio 2010 and the solution file that CMake generates does not have any of the target marked for build. I have to open up the Configuration Manager and select the build box for all my projects. When I save the modified solution back out I get additional

Re: [CMake] CMake and VS2010

2011-05-19 Thread David Cole
Are you using CMake 2.8.4? There were several VS 2010 related fixes that went into 2.8.4. On Thu, May 19, 2011 at 10:00 AM, LaViolette, Alan alaviole...@overwatch.textron.com wrote: I am working on converting to Visual Studio 2010 and the solution file that CMake generates does not have any

Re: [CMake] Multiarch support

2011-05-19 Thread Andreas Heck
Thanks Daniel. Patched version works for me. Regards Am 18.05.2011 23:28, schrieb Daniel Pfeifer: Am Mittwoch, den 18.05.2011, 23:02 +0200 schrieb Andreas Heck: Hey guys, does anyone knows if there exists a patched version of 2.8.4 with debians new multiarch support? Ubuntu natty is the

Re: [CMake] BundleUtilities with MinGW under Windows

2011-05-19 Thread clinton
And what error messages are you getting? Clint - Original Message - Sorry for the missing information. I use CMake 2.8.4 and have also Visual Studio 2008 installed. Best Regards Am 19.05.2011 um 05:52 schrieb Clinton Stimpson clin...@elemtech.com : What

[CMake] Updated: CMake 2.8.2-1

2011-05-19 Thread Bill Hoffman
CMake 2.8.4-1 is now available on Cygwin mirrors. Here are the changes for CMake 2.8.4: Alex Neundorf (1): Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used Andreas Schneider (1): FindPerlLibs: Add notice of copyright

[CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Bill Hoffman
CMake 2.8.4-1 is now available on Cygwin mirrors. Here are the changes for CMake 2.8.4: Alex Neundorf (1): Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used Andreas Schneider (1): FindPerlLibs: Add notice of copyright

Re: [CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Stiaan Gerber
On 19/05/11 14:41, Yuri Timenkov wrote: May be you should use Cygwin build of CMake? On Thu, May 19, 2011 at 12:46 PM, Stiaan Gerber sger...@sun.ac.za mailto:sger...@sun.ac.za wrote: Dear list On Windows, MinGW (gcc 4.5.2), CMake 2.8.4. I have a project building

Re: [CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Yuri Timenkov
Sorry, usually there are errors when trying to generate project under cygwin, but cmake uses backslashes. Then I suggest looking at xmlparse and CE_FEMxml dependencies. Because they're static libraries, CMake adds all their dependencies into link command. You can also check CMake's advanced

Re: [CMake] Which variable stores all (sub) directories added sofar?

2011-05-19 Thread Glenn Coombs
I think that you can use an environment variable rather than a normal variable to bypass the normal scoping rules. So: set(ENV{foo} bar) will I think allow other CMakeFiles to read it using: $ENV{foo} regardless of the sub-directory level. I haven't tried using this so it may not work but I

[CMake] Double redefinition of commands...

2011-05-19 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm facing with the following problem, I'm using the _XXX trick to access the previous version of a command. Unfortunately, this is not quite what I need because of a double redefinition of the command. Here is a small example of the

[CMake] problem using a new toolchain

2011-05-19 Thread Daniel Franzini
hi I'm trying to create a CMake build environment for a medium sized application. The application is getting ported to several plataforms and I would like to have just one build environment. The host plataform is WinVista/Linux. The first target plataform I'm trying to create a build for is PSP.

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Bill Hoffman
On 5/19/2011 2:11 PM, Alan W. Irwin wrote: On 2011-05-19 10:55-0400 Bill Hoffman wrote: CMake 2.8.4-1 is now available on Cygwin mirrors. Hi Bill: Could you give some background information about why you create a binary version of cmake for Cygwin that is separated in time and location from

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Alan W. Irwin
On 2011-05-19 10:55-0400 Bill Hoffman wrote: CMake 2.8.4-1 is now available on Cygwin mirrors. Hi Bill: Could you give some background information about why you create a binary version of cmake for Cygwin that is separated in time and location from the usual binaries that come with any

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Alan W. Irwin
On 2011-05-19 14:19-0400 Bill Hoffman wrote: On 5/19/2011 2:11 PM, Alan W. Irwin wrote: On 2011-05-19 10:55-0400 Bill Hoffman wrote: CMake 2.8.4-1 is now available on Cygwin mirrors. Hi Bill: Could you give some background information about why you create a binary version of cmake for

Re: [CMake] CMake and VS2010

2011-05-19 Thread LaViolette, Alan
yes I have CMake 2.8.4 From: David Cole [mailto:david.c...@kitware.com] Sent: Thursday, May 19, 2011 10:30 AM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] CMake and VS2010 Are you using CMake 2.8.4? There were several VS 2010 related fixes that went into 2.8.4. On

Re: [CMake] CMake and VS2010

2011-05-19 Thread David Cole
So, if you just open the solution and do a Build Solution doesn't it build everything you'd expect? On Thu, May 19, 2011 at 3:01 PM, LaViolette, Alan alaviole...@overwatch.textron.com wrote: yes I have CMake 2.8.4 *From:* David Cole [mailto:david.c...@kitware.com] *Sent:* Thursday, May

Re: [CMake] Double redefinition of commands...

2011-05-19 Thread Alexander Neundorf
On Thursday 19 May 2011, Theodore Papadopoulo wrote: Hello, I'm facing with the following problem, I'm using the _XXX trick to access the previous version of a command. Unfortunately, this is not quite what I need because of a double redefinition of the command. Here is a small

Re: [CMake] Forcing CMake to never search install path

2011-05-19 Thread Clifford Yapp
Michael, At first glance those would be what I need (although it is not clear if I need to specify bin/lib/include for CMAKE_SYSTEM_IGNORE_PATH as well as CMAKE_IGNORE_PATH.) I have tested both out, and unfortunately they do not seem to exclude the CMAKE_INSTALL_PREFIX path when I supply it - I

[CMake] Handle lib64 library on Linux

2011-05-19 Thread Sara Rolfe
Hello, I am attempting to modify my make file so the linker will check for / usr/lib64 instead of /usr/lib. I found a patch for this problem here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=126c993d#patch1 However, I'm pretty new to cmake and it's not clear to me how to apply

Re: [CMake] CMake and VS2010

2011-05-19 Thread LaViolette, Alan
ZERO_CHECK runs then all other report Project not selected to build for this solution configuration I think cmGlobalVisualStudio8Generator::WriteProjectConfigurations is getting passed false for partOfDefaultBuild on all my projects. What controls this parameter. I am going to start a

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Bill Hoffman
On 5/19/2011 2:58 PM, Alan W. Irwin wrote: My bad, I will try to be better about it in the future. I have no good excuse. :) Actually, I didn't mean to question why this Cygwin release of cmake was later than the normal release of cmake-2.8.4. (These things happen.) But the separate nature

[Cmake-commits] CMake branch, next, updated. v2.8.4-1565-gd7b5353

2011-05-19 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 d7b5353dbdc5e1e4015ea67f86e6a5dcf5ff0573 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1568-g2d71e81

2011-05-19 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 2d71e819c60a77787f9cdea5e281289404d9f8a7 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-431-gc5aae0e

2011-05-19 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 c5aae0e625bec60e3a89129501cd8fca726d8dcf (commit) from