Re: [cmake-developers] CheckSymbolExists is unreliable

2012-01-06 Thread Brad King
On 1/5/2012 8:25 AM, Brad King wrote: So I will go and fix some small typos I've found in the existing tests, repush and merge to next, so we see if Check*SymbolExists will work. Sounds good. The new CheckSymbolExists test works everywhere!

[cmake-developers] [CMake 0012659]: FindSphinx.cmake

2012-01-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12659 == Reported By:Arnaud Gelas Assigned To:

Re: [cmake-developers] CheckSymbolExists is unreliable

2012-01-06 Thread Rolf Eike Beer
Brad King wrote: On 1/5/2012 8:25 AM, Brad King wrote: So I will go and fix some small typos I've found in the existing tests, repush and merge to next, so we see if Check*SymbolExists will work. Sounds good. However the CheckCXXSymbolExist test fails:

Re: [cmake-developers] CheckSymbolExists is unreliable

2012-01-06 Thread Brad King
On 1/6/2012 1:55 PM, Rolf Eike Beer wrote: The difference is that my test only does configuration and does not build an executable, so the --build-and-test stuff will not work. Lots of tests are like that. They just create a tiny dummy executable to build and link. That's why I pointed at

Re: [CMake] CPack 2.8.7 RPM: hiding /etc/init.d from %files list

2012-01-06 Thread Eric Noulard
2012/1/6 Deborah Pickett deborah.pick...@autodesk.com: Hi everyone, I've been porting our commercial, in-house, unmaintainable Linux product build process to CMake.  It's been remarkably easy, but now I've hit a hurdle. I need to produce an RPM that will install on both Red Hat 5 and Suse

Re: [CMake] error of mixed dynamic/static link to Boost in windows VS2008

2012-01-06 Thread Mateusz Loskot
On 6 January 2012 05:30, Forest Yang yzine0...@gmail.com wrote:  I am writing a library using boost_regex. For the unit test part, I am using boost_unit_test_framework and needs to be dynamical linked. Everything worked great on Linux but not the Windows VS 2008.  I used the BoostPro binary

Re: [CMake] Interrupt problems in cmake-gui

2012-01-06 Thread Michael Jackson
In addition the issue is with the Qt base GUI and Qt has all the APIs necessary to accomplish what you need. There is no need for boost to fix the problem. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software

[CMake] CMake + Ninja

2012-01-06 Thread Clifford Yapp
Peter Collingbourne's ongoing work with CMake support for ninja (and vice versa) was recently announced as being able to build multiple large projects: http://public.kitware.com/pipermail/cmake-developers/2011-November/002490.html BRL-CAD was on the list, and in trials last night I confirmed

[CMake] Multiple tests in a single file

2012-01-06 Thread David Doria
Does CTest have a mechanism to run man mini-tests in a single file? I'm looking for something equivalent to the UnitTest++ syntax: TEST(YourTestName) {} TEST(YourOtherTestName){} int main(){  return UnitTest::RunAllTests();} Of course you could do something like: int YourTestName() { } int

[CMake] How not to copy a link

2012-01-06 Thread Kevin Burge
I'm trying to copy a file that is a link to another file, but I want the file to be copied, not the link itself. Historically, I've resorted to putting the real file as the source, and then using RENAME to rename the file, which puts more detail into my install commands than I'd like.

Re: [CMake] How not to copy a link

2012-01-06 Thread David Cole
Have you considered setting the VERSION and SOVERSION target properties on your libraries instead of doing the symlinks yourself? CMake will build and install the symlinks automatically for you on platforms where they are supported if you set these target properties.

Re: [CMake] How not to copy a link

2012-01-06 Thread Kevin Burge
Thanks David. These are external libraries built outside of CMake, without CMake, not imported via any of the import capabilities of cmake, and that need to be installed alongside my CMake built files. I think I'm just going to do the install with the rename. Requires me to be more

Re: [CMake] CMake + Ninja

2012-01-06 Thread Clifford Yapp
Peter, FYI, I'm seeing a problem with the BRL-CAD build on the Mac with CMake + ninja using the latest git versions - when I try to run tclsh, I get a problem with it trying to link TARGET_INSTALLNAME_DIRlibtcl.8.5.dylib instead of the local libtcl.8.5.dylib in the build directory. This doesn't

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2012-01-06 Thread Alexander Neundorf
On Tuesday 29 November 2011, Alexander Neundorf wrote: On Friday 18 November 2011, Patrick Spendrin wrote: Am 18.11.2011 02:02, schrieb Alan W. Irwin: Alex, is it possible your KDE Windows developers who are objecting to pkg-config tried a version from years ago when it did not have all

Re: [CMake] Multiple tests in a single file

2012-01-06 Thread Jean-Christophe Fillion-Robin
Hi David, Not too long ago I was browsing the project of a friend who worked on BTK (The toolkit used by Mokka, a motion kinematic kinetic analyser) [1]. I noticed that he is using *cxxtest* [2] along with *ctest*. It seems it could to address the use case you are describing. See Example

Re: [CMake] Multiple tests in a single file

2012-01-06 Thread David Doria
On Fri, Jan 6, 2012 at 5:54 PM, Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote: Hi David, Not too long ago I was browsing the project of a friend who worked on BTK (The toolkit used by Mokka, a motion kinematic kinetic analyser) [1]. I noticed that he is using cxxtest [2]

[CMake] how to setup cmake_c/xx_flags per toolchain?

2012-01-06 Thread Paweł Sikora
Hi, i'm trying to setup a toolchain file for cross-compilation with target specfic options and afaics cmake dosen't use flags from such file: $ cat CMakeLists.txt cmake_minimum_required( VERSION 2.8.7 ) project( test CXX ) add_executable( main main.cpp ) $ cat

Re: [CMake] how to setup cmake_c/xx_flags per toolchain?

2012-01-06 Thread Michael Hertling
On 01/07/2012 12:56 AM, Paweł Sikora wrote: Hi, i'm trying to setup a toolchain file for cross-compilation with target specfic options and afaics cmake dosen't use flags from such file: $ cat CMakeLists.txt cmake_minimum_required( VERSION 2.8.7 ) project( test CXX ) add_executable(

Re: [CMake] How not to copy a link

2012-01-06 Thread Michael Hertling
On 01/06/2012 07:51 PM, Kevin Burge wrote: Thanks David. These are external libraries built outside of CMake, without CMake, not imported via any of the import capabilities of cmake, and that need to be installed alongside my CMake built files. I think I'm just going to do the install

[Cmake-commits] CMake branch, next, updated. v2.8.7-1979-gc074796

2012-01-06 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 c07479619c47bcc30aa551bc46fd90311048126e (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-1981-gd1a6b04

2012-01-06 Thread Bill Hoffman
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 d1a6b049056ac50af38a75fe68bd7df0aec230b0 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-1985-gcd3c397

2012-01-06 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 cd3c3977ccfc2b4faffa4089081e9ea357f96d60 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-1987-gd5a07b3

2012-01-06 Thread Bill Hoffman
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 d5a07b316925816e345f9ce2452d2ea47c33d1c0 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.7-9-gcad7508

2012-01-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 cad7508615b529c139fdfdf16989ae370f5697ab (commit) from