Re: [CMake] Unit tests, but not CTest

2010-05-12 Thread Michael Hertling
On 05/13/2010 07:36 AM, Magnus Therning wrote: > On 13/05/10 02:31, Michael Hertling wrote: >> On 05/11/2010 10:51 AM, Magnus Therning wrote: >>> I'm still having problems with this. >>> >>> I put together this: >>> >>> project( test-post-build NONE ) >>> cmake_minimum_required( VERSION 2.8

Re: [CMake] Unit tests, but not CTest

2010-05-12 Thread Magnus Therning
On 13/05/10 02:31, Michael Hertling wrote: > On 05/11/2010 10:51 AM, Magnus Therning wrote: >> I'm still having problems with this. >> >> I put together this: >> >> project( test-post-build NONE ) >> cmake_minimum_required( VERSION 2.8 ) >> >> set( output ${CMAKE_CURRENT_BINARY_DIR}/foo

[CMake] CMAKE_LIBRARY_PATH appears not to work properly for finding libtcl

2010-05-12 Thread Alan W. Irwin
A PLplot developer who is not that familiar with CMake has just reported that CMAKE_LIBRARY_PATH does not allow him to find the libtcl8.4.so library that he had built and installed in a special location. The relevant fragment of code in FindTCL.cmake is the following: FIND_LIBRARY(TCL_LIBRARY

Re: [CMake] [CMAKE] Handling External Libraries and Resources

2010-05-12 Thread Clinton Stimpson
> > Essentially, I'd like to hear your views on handling resource copying. Is > there an obvious method I've overlooked? What are other projects doing to > handle resources? Any ideas with respect to other methods of handling > resources? You could do your resources like this: set(CMAKE_RUNTIM

Re: [CMake] Unit tests, but not CTest

2010-05-12 Thread Michael Hertling
On 05/11/2010 10:51 AM, Magnus Therning wrote: > On Mon, May 10, 2010 at 17:28, Tyler Roscoe wrote: >> Let's keep this on the list in case it helps someone else. >> >> On Fri, May 07, 2010 at 10:27:16PM +0100, Magnus Therning wrote: >>> On 07/05/10 17:24, Tyler Roscoe wrote: On Fri, May 07, 2

Re: [CMake] [CMAKE] Handling External Libraries and Resources

2010-05-12 Thread Patrik Gornicz
Sorry about the subject line. I've never posted to a mailing list before and I wasn't sure if [CMake] would be automatically prepended or not, plus it seems I didn't do it correctly myself ... Patrik Gornicz > From: gornic...@hotmail.com > To: cmake@cmake.org > Date: Wed, 12 May 2010 18:12:2

[CMake] [CMAKE] Handling External Libraries and Resources

2010-05-12 Thread Patrik Gornicz
I've been tasked with developing a new build system for projects at my work place. We decided to use CMake and have been quite pleased thus far. However, we've run into a requirement we haven't been able to satisfy to our satisfaction. The requirement is with respect to handling external librar

Re: [CMake] process file contents

2010-05-12 Thread Magnus Therning
On 12/05/10 19:07, James C. Sutherland wrote: > > On May 12, 2010, at 11:43 AM, James C. Sutherland wrote: > >> I would like to execute a command like: >> getrates -n < myFileName >> >> I am trying to add this so it is processed after the target "getrates" >> is built >> >> set( infile ${CMAK

Re: [CMake] process file contents

2010-05-12 Thread James C. Sutherland
On May 12, 2010, at 11:43 AM, James C. Sutherland wrote: > I would like to execute a command like: > getrates -n < myFileName > > I am trying to add this so it is processed after the target "getrates" is > built > > set( infile ${CMAKE_CURRENT_BINARY_DIR}/myFileName ) > add_custom_comman

[CMake] process file contents

2010-05-12 Thread James C. Sutherland
I would like to execute a command like: getrates -n < myFileName I am trying to add this so it is processed after the target "getrates" is built set( infile ${CMAKE_CURRENT_BINARY_DIR}/myFileName ) add_custom_command( TARGET getrates POST_BUILD COMMAND "${CMAKE_CURRENT_BINARY_DIR}/get

Re: [CMake] FindBoost not setting Boost_LIBRARIES

2010-05-12 Thread McNamara, Nate
Michael, Capitalizing Boost fixed the first part. Now I need to figure out why it still won't link :-) Thanks! Nate > _ > From: McNamara, Nate > Sent: May 11, 2010 4:07 PM > To: 'cmake@cmake.org' > Subject: FindBoost not setting Boos

Re: [CMake] SET_SOURCE_FILES_PROPERTIES different properties for same file, same library

2010-05-12 Thread Eric Noulard
2010/5/12 Michael Wild : > > On 12. May, 2010, at 13:03 , Bryn Lloyd wrote: > >> Hi, >> >> I would like to cmakeify the UMFPACK/AMD libraries by Timothy Davis. >> >> I need to compile the same source file, multiple times, with different >> flags/defines in order to link the resulting object files

Re: [CMake] SET_SOURCE_FILES_PROPERTIES different properties for same file, same library

2010-05-12 Thread Michael Wild
On 12. May, 2010, at 13:03 , Bryn Lloyd wrote: > Hi, > > I would like to cmakeify the UMFPACK/AMD libraries by Timothy Davis. > > I need to compile the same source file, multiple times, with different > flags/defines in order to link the resulting object files into one library. > > something

[CMake] SET_SOURCE_FILES_PROPERTIES different properties for same file, same library

2010-05-12 Thread Bryn Lloyd
Hi, I would like to cmakeify the UMFPACK/AMD libraries by Timothy Davis. I need to compile the same source file, multiple times, with different flags/defines in order to link the resulting object files into one library. something like this: $(CC) -DDINT -c umf_analyze.c -o umf_i_ana

Re: [CMake] [ctest] junit xml output

2010-05-12 Thread Maik Beckmann
Am 12.05.2010 09:02 schrieb Vladimir Grebenschikov : >hi > > Do you have any results regarding converting ctest results into jnuit > ones (or any other compatible with hudson) ? I got some bascis to work, but never finished it. I just attach the little test project I used back then. The cmake si