Re: [CMake] Libs not Found with Make Install

2010-07-20 Thread Michael Hertling
On 07/21/2010 12:39 AM, michael.schm...@l-3com.com wrote: > Howdy, > > After a make install, the executable's shared library dependencies are > missing when I run "ldd". In particular: "By default if you don't change any RPATH related settings, CM

[CMake] Libs not Found with Make Install

2010-07-20 Thread Michael . Schmidt
Howdy, After a make install, the executable's shared library dependencies are missing when I run "ldd". Thanks, Mike ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please k

[CMake] Fwd: How to add a lib in a target/tool independent way?

2010-07-20 Thread John Drescher
On Tue, Jul 20, 2010 at 5:24 PM, Claus Klein wrote: > I have a cpp project with some lib targets and executables, which depends on > the libs and the header files. > I want to link the libs from my build/src tree and not the installed > versions. > > With this snip below from my CMakeFile.txt it w

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 16:18:26, kent williams wrote: > OK, so set_source_file_properties needs a property value that's a > single string. This wasn't clear from the documentation at all or not > clear to me at least. Thanks for your help! It doesn't need to be explicit if you've understood cmake variables

[CMake] How to add a lib in a target/tool independent way?

2010-07-20 Thread Claus Klein
I have a cpp project with some lib targets and executables, which depends on the libs and the header files. I want to link the libs from my build/src tree and not the installed versions. With this snip below from my CMakeFile.txt it works on my MacBook and cygwin after a make clean, but wit

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
OK, so set_source_file_properties needs a property value that's a single string. This wasn't clear from the documentation at all or not clear to me at least. Thanks for your help! On Tue, Jul 20, 2010 at 4:07 PM, Andreas Pakulat wrote: > On 20.07.10 15:43:16, kent williams wrote: >> I see what

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 15:43:16, kent williams wrote: > I see what you're doing and I have two points: > > 1. You only have one file in ${${PROJECT_HAME}_UIS} -- what happens if > you create a second file with Designer and add it to this project? > Believe me, I read through Qt4Macros.cmake, and what's there

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
I see what you're doing and I have two points: 1. You only have one file in ${${PROJECT_HAME}_UIS} -- what happens if you create a second file with Designer and add it to this project? Believe me, I read through Qt4Macros.cmake, and what's there should work, but in my case it most definitely does

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread John Drescher
On Tue, Jul 20, 2010 at 4:09 PM, kent williams wrote: > Thanks.  I don't know if you've actually tried the project I put up to > illustrate the project, but while what you say makes sense, it doesn't > appear to fix the problem. > > It's frustrating for me; apparently, though I'm following exactly

[CMake] Configuring targets & software that isn't yet built

2010-07-20 Thread Richard Offer
I have two targets (libssh2 and curl). Curl wants to know if libssh2 is installed during its configuration step. Of course it isn¹t at that point. I tried a naïve approach ­ adding a variable that curl uses to see if libssh2 is available (HAVE_LIBSSH2_H) into the cache. SET( HAVE_LIBSSH2_H 1 C

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
Thanks. I don't know if you've actually tried the project I put up to illustrate the project, but while what you say makes sense, it doesn't appear to fix the problem. It's frustrating for me; apparently, though I'm following exactly the pattern that's reputed to work, CMake isn't generating the

Re: [CMake] add_test and $(Configuration) with Visual Studio Generator

2010-07-20 Thread Michael Wild
On 20. Jul, 2010, at 21:39 , Kelly Thompson wrote: > Hi, > > > > I am having trouble with add_test and the MSVC macro $(Configuration) when I > generate project files for Visual Studio. I am hoping someone on this list > can provide a solution. > > > > Scenario: (This is an outline of what

[CMake] add_test and $(Configuration) with Visual Studio Generator

2010-07-20 Thread Kelly Thompson
Hi, I am having trouble with add_test and the MSVC macro $(Configuration) when I generate project files for Visual Studio. I am hoping someone on this list can provide a solution. Scenario: (This is an outline of what I want to do.) 1. Ceating a unit test via 'add_executable(unitt

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Michael Wild
Hi I hope the inline comments below solve your problems. And please, don't cross-post... On 20. Jul, 2010, at 19:06 , kent williams wrote: > This is with cmake version 2.8.1 on OS X 10.6. > > I had a project using CMake and Qt. As long as I only used one QT > Designer-generated .ui file, eve

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
http://www.cornwarning.com/xfer/QTCMakeTest.tar.gz Sorry for the trouble. Safari has a feature, whereby if I type in a URL to test it, it will initiate a successful download, but then change the URL in the URL entry box to the incorrect URL. Steve Jobs wants to ruin my life, and every day he does

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread John Drescher
On Tue, Jul 20, 2010 at 2:48 PM, Andreas Pakulat wrote: > On 20.07.10 13:30:51, kent williams wrote: >> Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz > > Still the same. Same here. I get a cute image that says "Sorry Sam, I can't seem to find that URL." John ___

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 13:30:51, kent williams wrote: > Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz Still the same. Andreas -- You will contract a rare disease. ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz On Tue, Jul 20, 2010 at 1:20 PM, kent williams wrote: > Sorry -- thanks for trying though. > > http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz > > On Tue, Jul 20, 2010 at 1:00 PM, Andreas Pakulat wrote: >> On 20.07.10 12

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
Sorry -- thanks for trying though. http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz On Tue, Jul 20, 2010 at 1:00 PM, Andreas Pakulat wrote: > On 20.07.10 12:06:11, kent williams wrote: >> This is with cmake version 2.8.1 on OS X 10.6. >> >> I had a project using CMake and Qt.  As long as I onl

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 12:06:11, kent williams wrote: > This is with cmake version 2.8.1 on OS X 10.6. > > I had a project using CMake and Qt. As long as I only used one QT > Designer-generated .ui file, everything worked perfectly. When I added > as second UI file, things no longer worked. I was working fr

Re: [CMake] Auxiliary fortran link libraries?

2010-07-20 Thread Brad King
On 07/20/2010 09:45 AM, Theodore Papadopoulo wrote: > On 07/19/2010 08:43 PM, Brad King wrote: >> Note that if you use the *shared* libblas.so and liblapack.so then >> you do not need to list the implementation dependencies explicitly. >> > This may not be true everywhere or forever... > Actual

[CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
This is with cmake version 2.8.1 on OS X 10.6. I had a project using CMake and Qt. As long as I only used one QT Designer-generated .ui file, everything worked perfectly. When I added as second UI file, things no longer worked. I was working from the CMake + Qt4 examples on the web. There are tw

Re: [CMake] Finding Python3

2010-07-20 Thread Alan W. Irwin
On 2010-07-20 17:12+0200 Michael Hertling wrote: On 07/20/2010 03:26 AM, Alan W. Irwin wrote: On 2010-07-20 00:51+0200 Michael Hertling wrote: On 07/18/2010 10:14 PM, Alan W. Irwin wrote: (1) http://public.kitware.com/Bug/view.php?id=10718 is fixed. In my view this bug has been the source o

Re: [CMake] Finding Python3

2010-07-20 Thread Michael Hertling
On 07/20/2010 03:26 AM, Alan W. Irwin wrote: > On 2010-07-20 00:51+0200 Michael Hertling wrote: > >> On 07/18/2010 10:14 PM, Alan W. Irwin wrote: >>> (1) http://public.kitware.com/Bug/view.php?id=10718 is fixed. In my >>> view this bug has been the source of much CMake find trouble for a long >>>

Re: [CMake] Auxiliary fortran link libraries?

2010-07-20 Thread Theodore Papadopoulo
On 07/19/2010 08:43 PM, Brad King wrote: Note that if you use the *shared* libblas.so and liblapack.so then you do not need to list the implementation dependencies explicitly. Another way to view this is that when you pointed Trilinos at the blas and lapack libraries to use, you chose the static

Re: [CMake] Parallel build with ctest 2.8.2

2010-07-20 Thread Bill Hoffman
On 7/19/2010 11:10 PM, Emmanuel Christophe wrote: Hi all, I used to do parallel build for my nightly with ctest by putting MAKECOMMAND:STRING=/usr/bin/make -i -j8 in my .cmake script. http://www.cdash.org/CDash/buildSummary.php?buildid=669361 Build command: /usr/bin/make -i Start Time: 2010