Re: [CMake] CTest: Any way around the one test == one program invocation assumption?

2010-06-08 Thread Biddiscombe, John A.
I'm sure someone has a better answer ... but ... I have complete control over the test program and can make it output whatever I want. Have a look at the XML produced by ctest itself and generate it yourself? then submit it and you should see each test separately (Just thinking out loud) JB

Re: [CMake] CTest: Any way around the one test == one program invocation assumption?

2010-06-08 Thread Chris Hillery
On Tue, Jun 8, 2010 at 1:00 AM, Biddiscombe, John A. biddi...@cscs.chwrote: I'm sure someone has a better answer ... but ... I have complete control over the test program and can make it output whatever I want. Have a look at the XML produced by ctest itself and generate it yourself?

[CMake] Cmake doesn't add the -lpthread option

2010-06-08 Thread Cadio Nicolas (Creative Ingenierie)
Hi, I work on a C/C++ project where we use the library POSIX thread (pthread). We use two compiler (x86_64-redhat-linux and x86_64-unknown-linux-gnu). When I compile the project with the redhat compiler, cmake adds automatically the option -lpthread to the command line of the compilation

Re: [CMake] CTest: Any way around the one test == one program invocation assumption?

2010-06-08 Thread Philip Lowman
On Tue, Jun 8, 2010 at 4:32 AM, Chris Hillery chillery-cm...@lambda.nuwrote: On Tue, Jun 8, 2010 at 1:00 AM, Biddiscombe, John A. biddi...@cscs.chwrote: I'm sure someone has a better answer ... but ... I have complete control over the test program and can make it output whatever I want.

Re: [CMake] Cmake doesn't add the -lpthread option

2010-06-08 Thread Ryan Pavlik
On 6/8/10 3:54 AM, Cadio Nicolas (Creative Ingenierie) wrote: Hi, I work on a C/C++ project where we use the library POSIX thread (pthread). We use two compiler (x86_64-redhat-linux and x86_64-unknown-linux-gnu). When I compile the project with the redhat compiler, cmake adds automatically

Re: [CMake] Different configurations for Debug and Release

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
From: cmake-boun...@cmake.org on behalf of Tyler Roscoe Sent: Mon 6/7/2010 4:25 PM To: Felipe Sodré Silva Cc: cmake@cmake.org Subject: Re: [CMake] Different configurations for Debug and Release On Mon, Jun 07, 2010 at 03:04:02PM -0300, Felipe Sodré Silva wrote: The CXX_FLAGS part seems

Re: [CMake] Different configurations for Debug and Release

2010-06-08 Thread Michael Wild
On 8. Jun, 2010, at 14:45 , Torri, Stephen CIV NSWCDD, W15 wrote: From: cmake-boun...@cmake.org on behalf of Tyler Roscoe Sent: Mon 6/7/2010 4:25 PM To: Felipe Sodré Silva Cc: cmake@cmake.org Subject: Re: [CMake] Different configurations for Debug and Release On Mon, Jun 07, 2010 at

Re: [CMake] CTest: Any way around the one test == one program invocation assumption?

2010-06-08 Thread Biddiscombe, John A.
All in all it'd be much nicer if there was some kind of hook in ctest which could be used to inform it that a number of tests had been run, and let it populate and submit the XML report based on that information. But, if there's any way to do that, it's highly undocumented... It doesn't

Re: [CMake] Different configurations for Debug and Release

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
From: Michael Wild [mailto:them...@gmail.com] Sent: Tue 6/8/2010 9:05 AM To: Torri, Stephen CIV NSWCDD, W15 Cc: cmake@cmake.org Subject: Re: [CMake] Different configurations for Debug and Release In my project the external libraries I use have the debug library files are in a

Re: [CMake] Different configurations for Debug and Release

2010-06-08 Thread David Cole
On Tue, Jun 8, 2010 at 10:00 AM, Torri, Stephen CIV NSWCDD, W15 stephen.to...@navy.mil wrote: From: Michael Wild [mailto:them...@gmail.com] Sent: Tue 6/8/2010 9:05 AM To: Torri, Stephen CIV NSWCDD, W15 Cc: cmake@cmake.org Subject: Re: [CMake] Different configurations for Debug and

[CMake] cmake-2.8.1 cygwin on win7 64

2010-06-08 Thread Dr DB Karron
I have a full cigwin installed on Windows 7 64 bit; java and curses all default installed. ./bootstrap is failing. ./configure is failing Here is the log. Dr D B Karron drdbkar...@gmail.com kar...@casi.net +1 (917) 674-0828 (voice and cell texting) err_log Description: Binary data

[CMake] CPack: debugging project.nsi file - unknown variable

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
Now that I have a libraries being linked in correctly its time to move to using CPack. The cpack utility failed to execute makensis.exe project.nsi. When I looked in the NSISOutput.log I see a few warnings: warning: unknown variable/constant {headers} detected, ignoring

[CMake] How to see the generated compiler commands?

2010-06-08 Thread Felipe Sodré Silva
Hi, I wrote a cmake script that generates a unix makefile for a project, and I'd like to know if there's an easy way to see the compiler arguments the make system is using to build the project. Looking at the generated Makefile doesn't seem to be an option. Thanks !

Re: [CMake] How to see the generated compiler commands?

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
From: cmake-boun...@cmake.org on behalf of Felipe Sodré Silva Sent: Tue 6/8/2010 12:43 PM To: cmake@cmake.org Subject: [CMake] How to see the generated compiler commands? Hi, I wrote a cmake script that generates a unix makefile for a project, and I'd like to know if there's an easy

Re: [CMake] cmake-2.8.1 cygwin on win7 64

2010-06-08 Thread Bill Hoffman
On 6/8/2010 11:03 AM, Dr DB Karron wrote: I have a full cigwin installed on Windows 7 64 bit; java and curses all default installed. ./bootstrap is failing. ./configure is failing Here is the log. Works for me... :) What is in this file: Bootstrap.cmk/cmake_bootstrap.log Not finding java

[CMake] CMake with (VCExpress Intel Ifort 2008)

2010-06-08 Thread Giraudon Cyril
Hello, I try to compile the next version of HDF5 project which can be generated/compiled with CMake. I use Visual Studio Express 9 2008 and ifort 11.1 under Windows XP. Generation without Fortran binding : After modifying the CMAKE_MAKE_PROGRAM from devcom.com to VCExpress.exe The

[CMake] Building multiple releases for a visual studio project

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
I was wondering if it was possible to have a CMake project that builds a Microsoft Visual Studio Project produce an NSIS installer for each kind of build (e.g. debug, release, RelWithDebug). Right now I can build the project via Visual Studio for all the build types which is great. Now I would

[CMake] decision based on being a nested project

2010-06-08 Thread Nathan Huesken
Hi, As can be read in an earlier thread, I am trying to nest a cmake project (call it inner) into another cmake project (call it outer). The inner project should be extracable and run as its own project. Having trouble with EXTERNALPROJECT_ADD, I am trying to add the project as a subdir. So I

[CMake] dependency problem

2010-06-08 Thread Yifei Li
Hi folks, I'm new to cmake, can anyone help me with the following situation: I have a project which will generate following targets: 1) the application and a shared library, say MyLib. 2) some plugins(which are also shared libraries) that need to link MyLib, each plugin has its own

Re: [CMake] Building multiple releases for a visual studio project

2010-06-08 Thread John Drescher
On Tue, Jun 8, 2010 at 2:52 PM, Torri, Stephen CIV NSWCDD, W15 stephen.to...@navy.mil wrote: I was wondering if it was possible to have a CMake project that builds a Microsoft Visual Studio Project produce an NSIS installer for each kind of build (e.g. debug, release, RelWithDebug). Right now

Re: [CMake] dependency problem

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
From: cmake-boun...@cmake.org on behalf of Yifei Li Sent: Tue 6/8/2010 3:23 PM To: cmake@cmake.org Subject: [CMake] dependency problem Hi folks, I'm new to cmake, can anyone help me with the following situation: I have a project which will generate following targets: 1) the

Re: [CMake] Building multiple releases for a visual studio project

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
From: John Drescher [mailto:dresche...@gmail.com] Sent: Tue 6/8/2010 3:55 PM To: Torri, Stephen CIV NSWCDD, W15 Cc: cmake@cmake.org Subject: Re: [CMake] Building multiple releases for a visual studio project On Tue, Jun 8, 2010 at 2:52 PM, Torri, Stephen CIV NSWCDD, W15

Re: [CMake] dependency problem

2010-06-08 Thread Torri, Stephen CIV NSWCDD, W15
From: cmake-boun...@cmake.org on behalf of Yifei Li Sent: Tue 6/8/2010 4:15 PM To: cmake@cmake.org Subject: Re: [CMake] dependency problem Thank you for reply. I already tried that. I think the problem was caused by 'find_library' in my plugin's CMakeLists.txt, because it failed to

Re: [CMake] How to see the generated compiler commands?

2010-06-08 Thread Chris Hillery
On Tue, Jun 8, 2010 at 10:02 AM, Torri, Stephen CIV NSWCDD, W15 stephen.to...@navy.mil wrote: From: cmake-boun...@cmake.org on behalf of Felipe Sodré Silva Hi, I wrote a cmake script that generates a unix makefile for a project, and I'd like to know if there's an easy way to see the

Re: [CMake] ${PROJECT}-config.cmake

2010-06-08 Thread Michael Hertling
On 06/07/2010 05:24 PM, Biddiscombe, John A. wrote: When using the install target command as follows INSTALL ( TARGETS ${HDF5_LIB_TARGET} EXPORT ${HDF5_EXPORTED_TARGETS} LIBRARY DESTINATION lib COMPONENT libraries ARCHIVE DESTINATION lib

[CMake] OpenMP differences between command line and Xcode

2010-06-08 Thread Daniel Blezek
Hi, We¹ve just started building our OpenMP based code using Xcode on Mac OS X 10.6. When we build using Makefiles with OpenMP turned on (through the FindOpenMP.cmake module), all goes well. Under Xcode, however, we are not linking to the OpenMP libraries. I tracked this down to a difference

Re: [CMake] ${PROJECT}-config.cmake

2010-06-08 Thread Michael Hertling
On 06/07/2010 08:54 PM, Biddiscombe, John A. wrote: Seems that just doing IF (NOT ${PROJECTXXX_SOURCE_DIR}) include config file ENDIF is enough and works ok. If the project is part of the same build, the source dir is defined, otherwise not. To me, this seems not to be bulletproof:

Re: [CMake] dependency problem

2010-06-08 Thread Michael Hertling
On 06/08/2010 10:21 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From: cmake-boun...@cmake.org on behalf of Yifei Li Sent: Tue 6/8/2010 4:15 PM To: cmake@cmake.org Subject: Re: [CMake] dependency problem Thank you for reply. I already tried that. I think the problem was caused by

Re: [CMake] decision based on being a nested project

2010-06-08 Thread Michael Hertling
On 06/08/2010 09:00 PM, Nathan Huesken wrote: Hi, As can be read in an earlier thread, I am trying to nest a cmake project (call it inner) into another cmake project (call it outer). The inner project should be extracable and run as its own project. Having trouble with

Re: [CMake] dependency problem

2010-06-08 Thread Yifei Li
Thank you. The reason I used find_library is because I found out that I don't need to say libMyLib.so or libMyLib.dylib in target_link_libraries, I can just say MyLib. Correct me if I am wrong Yifei On Jun 8, 2010, at 4:21 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From:

Re: [CMake] How to see the generated compiler commands?

2010-06-08 Thread Michael Hertling
On 06/08/2010 07:02 PM, Torri, Stephen CIV NSWCDD, W15 wrote: From: cmake-boun...@cmake.org on behalf of Felipe Sodré Silva Sent: Tue 6/8/2010 12:43 PM To: cmake@cmake.org Subject: [CMake] How to see the generated compiler commands? Hi, I wrote a cmake script that generates a unix makefile

[Cmake-commits] CMake branch, next, updated. v2.8.1-1345-gc630927

2010-06-08 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 c6309270fb6100669097fc7838d835f34c4903f8 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.1-1349-g32b964a

2010-06-08 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 32b964add2dca7beb52b1b4cd65059e30b13dae3 (commit) via