[cmake-developers] [CMake 0012539]: Expect CTestConfig.cmake in either the build or source directory

2011-10-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12539 == Reported By:Jean-Christophe Fillion-Robin

[cmake-developers] [CMake 0012540]: Error configuring project using Intel Fortran with Visual Studio generator

2011-10-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12540 == Reported By:Martin Apel Assigned To:

Re: [cmake-developers] Merging cmake-link-interface-libraries into master?

2011-10-26 Thread Brad King
On 10/25/2011 5:11 PM, Alexander Neundorf wrote: On Tuesday 25 October 2011, Stephen Kelly wrote: ... I think I read somewhere that next gets re-branched from master periodically. How often does that happen? Usually every Tuesday. The Tuesday meetings are when we consider merging topics

Re: [cmake-developers] Some documentation patches

2011-10-26 Thread Nicolas Desprès
2011/10/24 Brad King brad.k...@kitware.com: On 10/24/2011 4:53 AM, Nicolas Desprès wrote: Ok. Here the real change applied on this file (except the remove of the trailing white-space). It fixes some doxygen warnings: diff --git a/Source/kwsys/SystemTools.hxx.in

Re: [cmake-developers] local pre-commit hook (was: Some documentation patches)

2011-10-26 Thread Brad King
On 10/26/2011 11:07 AM, Nicolas Desprès wrote: 2011/10/24 Brad Kingbrad.k...@kitware.com: Once merged to master then new work based on that version or later will get this check if the local hooks are installed. Works perfectly! Thanks! git config hooks.chain-pre-commit

[cmake-developers] [PATCH] Tell people that link_directories() is not what they are searching for

2011-10-26 Thread Rolf Eike Beer
From 7c31000a1e52d3855f6f5162645a126daafd5105 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer eike-ker...@sf-tec.de Date: Wed, 26 Oct 2011 20:43:21 +0200 Subject: [PATCH] Tell people that link_directories() is not what they are searching for Judging from the questions I see on the #cmake IRC

Re: [cmake-developers] [PATCH] Tell people that link_directories() is not what they are searching for

2011-10-26 Thread Brad King
On 10/26/2011 2:47 PM, Rolf Eike Beer wrote: From 7c31000a1e52d3855f6f5162645a126daafd5105 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beereike-ker...@sf-tec.de Date: Wed, 26 Oct 2011 20:43:21 +0200 Subject: [PATCH] Tell people that link_directories() is not what they are searching for What

Re: [cmake-developers] [PATCH] Tell people that link_directories() is not what they are searching for

2011-10-26 Thread Rolf Eike Beer
Am Mittwoch 26 Oktober 2011, 15:14:22 schrieb Brad King: On 10/26/2011 2:47 PM, Rolf Eike Beer wrote: From 7c31000a1e52d3855f6f5162645a126daafd5105 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beereike-ker...@sf-tec.de Date: Wed, 26 Oct 2011 20:43:21 +0200 Subject: [PATCH] Tell people

Re: [cmake-developers] [PATCH] Tell people that link_directories() is not what they are searching for

2011-10-26 Thread Rolf Eike Beer
Am Mittwoch 26 Oktober 2011, 15:23:53 schrieb David Cole: On Wed, Oct 26, 2011 at 3:17 PM, Rolf Eike Beer e...@sf-mail.de wrote: Btw.: the HTML help on the webpage is still from 2.8.6. 2.8.6 is the most recent official release. What version do you expect to see on the webpage? Err, sorry,

Re: [cmake-developers] [PATCH] Tell people that link_directories() is not what they are searching for

2011-10-26 Thread Rolf Eike Beer
Am Mittwoch 26 Oktober 2011, 15:33:36 schrieb Brad King: On 10/26/2011 3:17 PM, Rolf Eike Beer wrote: Am Mittwoch 26 Oktober 2011, 15:14:22 schrieb Brad King: Note that this command is rarely necessary. Library locations returned by find_package() and find_library() are absolute paths.

[cmake-developers] [CMake 0012541]: Missing option to pass flags to moc for AUTOMOC targets

2011-10-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12541 == Reported By:Jason Haslam Assigned To:

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

2011-10-26 Thread David Cole
Reminder: Please make your requests for bug fixes for CMake 2.8.7 by the end of the day, this Friday, October 28. It will be nice to have as complete a picture as possible so we can plan the next 6 weeks effectively. Thanks, David On Fri, Oct 21, 2011 at 2:20 PM, David Cole

Re: [CMake] Weird linking error while cross compiling

2011-10-26 Thread Jose
Sorry for not being very specific. This is the command that Cmake is running while linking : /usr/bin/i686-pc-mingw32-g++ -O3 -O3-Wl,-Bstatic -static-libgcc -Wl,--whole-archive CMakeFiles/sqt2pin.dir/objects.a -Wl,--no-whole-archive -o sqt2pin.exe -Wl,--out-implib,libsqt2pin.dll.a

Re: [CMake] Weird linking error while cross compiling

2011-10-26 Thread Andreas Pakulat
On 26.10.11 03:54:02, Jose wrote: Sorry for not being very specific. This is the command that Cmake is running while linking : /usr/bin/i686-pc-mingw32-g++ -O3 -O3-Wl,-Bstatic -static-libgcc -Wl,--whole-archive CMakeFiles/sqt2pin.dir/objects.a -Wl,--no-whole-archive -o sqt2pin.exe

[CMake] specify solution name with --build

2011-10-26 Thread Anton Sibilev
Hello! Can you please help me? I use such cmdline to run build with CMake - cmake-2.8.6\bin\cmake --build folder_with_solution, where folder_with_solution is folder with some_name.sln file. And what I have is: The following files were specified on the command line: Project.sln These

Re: [CMake] specify solution name with --build

2011-10-26 Thread Anton Sibilev
Seem I've found issue, in CMakeCache.txt I have two targets: //Value Computed by CMake Project_BINARY_DIR:STATIC=C:/_work/test_build //Value Computed by CMake Project_SOURCE_DIR:STATIC=C:/_work/test //Value Computed by CMake test_BINARY_DIR:STATIC=C:/_work/test_build //Value Computed by CMake

[CMake] Setting Platform (Win32 or x64) for Visual Studio in CMake

2011-10-26 Thread Ludovic Hoyet
Hi, I am trying to generate VCproj for Visual Studio 32 and 64bit, and I would like to have the possibility to have both the 32bit version and the 64bit version in a single sln file. For this in Visual studio I can set the platform to x^$ for the configurations that I want, but I need to do it by

Re: [CMake] specify solution name with --build

2011-10-26 Thread David Cole
On Oct 26, 2011, at 6:03 AM, Anton Sibilev anton.sibi...@gmail.com wrote: Seem I've found issue, in CMakeCache.txt I have two targets: //Value Computed by CMake Project_BINARY_DIR:STATIC=C:/_work/test_build //Value Computed by CMake Project_SOURCE_DIR:STATIC=C:/_work/test //Value

Re: [CMake] Weird linking error while cross compiling

2011-10-26 Thread Michael Hertling
On 10/26/2011 10:28 AM, Andreas Pakulat wrote: On 26.10.11 03:54:02, Jose wrote: Sorry for not being very specific. This is the command that Cmake is running while linking : /usr/bin/i686-pc-mingw32-g++ -O3 -O3-Wl,-Bstatic -static-libgcc -Wl,--whole-archive

Re: [CMake] Setting Platform (Win32 or x64) for Visual Studio in CMake

2011-10-26 Thread Bill Hoffman
On 10/26/2011 9:18 AM, Ludovic Hoyet wrote: Hi, I am trying to generate VCproj for Visual Studio 32 and 64bit, and I would like to have the possibility to have both the 32bit version and the 64bit version in a single sln file. For this in Visual studio I can set the platform to x^$ for the

Re: [CMake] Setting Platform (Win32 or x64) for Visual Studio in CMake

2011-10-26 Thread Ludovic Hoyet
Ok, that's why I couldn't find any solution... It will be a little less handy to have different sln files, but that should make it. Thanks anyway, Ludovic 2011/10/26 Bill Hoffman bill.hoff...@kitware.com On 10/26/2011 9:18 AM, Ludovic Hoyet wrote: Hi, I am trying to generate VCproj for

Re: [CMake] Setting Platform (Win32 or x64) for Visual Studio in CMake

2011-10-26 Thread Ludovic Hoyet
Just to know, is there a way to set the platform in the CMakeList? At the moment if I select VS_XXX if creates uses the Win32 platform, and the x64 is used if I select VS_XXX x64. I would like to set a variable to the default platform (no pb with that), and let the users modify if if they really

Re: [CMake] Setting Platform (Win32 or x64) for Visual Studio in CMake

2011-10-26 Thread John Drescher
On Wed, Oct 26, 2011 at 10:17 AM, Ludovic Hoyet lho...@gmail.com wrote: Just to know, is there a way to set the platform in the CMakeList? At the moment if I select VS_XXX if creates uses the Win32 platform, and the x64 is used if I select VS_XXX x64. I would like to set a variable to the

Re: [CMake] Boost external project doesn't build with VS2010 generator

2011-10-26 Thread Ben Medina
David, Yes, adding call to the front of the command works. Thanks! Would be great to get that fixed for 2.8.7, as I spent a good portion of yesterday racking my brain about this. I also discovered that, if using a variable to build the CONFIGURE_COMMAND, that variable should be a list, rather

Re: [CMake] Boost external project doesn't build with VS2010 generator

2011-10-26 Thread David Cole
On Wed, Oct 26, 2011 at 11:56 AM, Ben Medina ben.med...@gmail.com wrote: David, Yes, adding call to the front of the command works. Thanks! Would be great to get that fixed for 2.8.7, as I spent a good portion of yesterday racking my brain about this. I also discovered that, if using a

Re: [CMake] CMake still broken post-2.8.1

2011-10-26 Thread Bill Hoffman
So, since this is a cross compile situation, there is really no need to run the compiler id code. You should be able to put the following into your toolchain file and avoid the compiler id check code altogether: SET(CMAKE_C_COMPILER_ID_RUN 1) SET(CMAKE_C_PLATFORM_ID MyPlatform)

[CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Dan Kegel
Hey folks, I'm happily using the cdt4 generator to generate eclipse projects. The result doesn't seem very eclipse-y to my untrained eye, but it's close enough to get work done. Next question: how does one trigger make test from eclipse? In the java world, I think a plugin is used to do that. (

Re: [CMake] Boost external project doesn't build with VS2010 generator

2011-10-26 Thread Ben Medina
I tend to use the online documentation: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#module:ExternalProject But I agree that an example would also be useful. Perhaps the wiki could have examples of how to use external project with common 3rd party libs (e.g. boost, Qt). On Wed, Oct 26,

Re: [CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: Hey folks, I'm happily using the cdt4 generator to generate eclipse projects. The result doesn't seem very eclipse-y to my untrained eye, but it's close enough to get work done. It would be nice if you could give cmake from current git master a

Re: [CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Dan Kegel
On Wed, Oct 26, 2011 at 6:18 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: It would be nice if you could give cmake from current git master a try. I have put some more work into it, and now you should get also a virtual folder containing all targets (each with a Build and a Clean

[CMake] adding include directories to main target

2011-10-26 Thread j
Hi there, I'm trying to set the include directories that a library in my project uses into my main target. the hierarchy is as follows: CMakeLists.txt (A) +application CMakeLists.txt (B) +library CMakeLists.txt (C) B is called by A through add_subdirectory and B does a LINK_LIBRARIES for

Re: [CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: On Wed, Oct 26, 2011 at 6:18 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: It would be nice if you could give cmake from current git master a try. I have put some more work into it, and now you should get also a virtual folder

Re: [CMake] CMake still broken post-2.8.1

2011-10-26 Thread Phil Smith
Thanks, Bill; I will try that and report back. -Original Message- From: Bill Hoffman [mailto:bill.hoff...@kitware.com] Sent: Wednesday, October 26, 2011 12:43 PM To: Phil Smith Cc: a.neundorf-w...@gmx.net; cmake@cmake.org; David Cole; Janet Graff; Brad King Subject: Re: [CMake] CMake

Re: [CMake] adding include directories to main target

2011-10-26 Thread Łukasz Tasz
Hi, in C,CMakelists.txt set variable which store include_dir but add PARENT_SCOPE, and then use this variable in A,CMakeLists.txt to set includes: CCMakeLists.txt: set(includesFromC dir_name PARENT_SCOPE) ACMakeLists.txt: add_subdirectory(C) include_directories(${includesFromC}) Another

Re: [CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Dan Kegel
On Wed, Oct 26, 2011 at 7:09 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: What if I want to run all tests? Double click the test target in the top level directory of the Makefile targets view. Ah, handy, thanks. What does not exist, but what might be nice, is something which

[CMake] ExternalProject dependency question

2011-10-26 Thread Dan Kegel
The manual says If you need to make your own CMake target depend on an external project use the CMake ADD_DEPENDENCIES command. The target name will be the first argument and the external project name will be the second argument. But it seems kind of lame; it leaves external projects as

[CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-26 Thread Dan Kegel
I'm going over the checklist of whether cmake will meet the needs of my eclipse users, and their first question was what was the workflow for adding a new source file. I just tried the experiment of adding a .cpp file, adding it to CMakeLists.txt, and clicking Build... and the .o file showed up

Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-26 Thread Robert Dailey
On Wed, Oct 26, 2011 at 4:42 PM, Dan Kegel d...@kegel.com wrote: I'm going over the checklist of whether cmake will meet the needs of my eclipse users, and their first question was what was the workflow for adding a new source file. I just tried the experiment of adding a .cpp file, adding

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

2011-10-26 Thread David Cole
Reminder: Please make your requests for bug fixes for CMake 2.8.7 by the end of the day, this Friday, October 28. It will be nice to have as complete a picture as possible so we can plan the next 6 weeks effectively. Thanks, David On Fri, Oct 21, 2011 at 2:20 PM, David Cole

[Cmake-commits] CMake branch, next, updated. v2.8.6-1707-g1343760

2011-10-26 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 1343760f09cbb205d646b0119305fed0b866ed18 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-1709-g1257708

2011-10-26 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 1257708ae2255006a3ba879464c4949d5b9a4670 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.6-111-g9a6257a

2011-10-26 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 9a6257a40b8c915cf61d2d4e7f1f5a2e4b7b310a (commit) from