Re: [CMake] adjusting CMAKE_Fortran_LINK_EXECUTABLE

2011-03-10 Thread Michael Hertling
On 03/10/2011 03:07 PM, Brad King wrote: > On 03/10/2011 03:48 AM, Ilias Miroslav wrote: >> By default, the current CMAKE_Fortran_LINK_EXECUTABLE consists of several >> variables: >> >> " >> -o " > [snip] >> selected variables only: "-o >> " > > The are in there because there are

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-10 Thread Alexander Neundorf
On Thursday 10 March 2011, Markus Rathgeb wrote: > > Ok, and what was the error you were getting? > > Is this a problem because you have Qt installed in the same relative > > location from the non-rooted and rooted directory? > > QT_LIBRARY_DIR, QT_HEADERS_DIR, ... are detected fine in and with the

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-10 Thread Markus Rathgeb
> Ok, and what was the error you were getting? > Is this a problem because you have Qt installed in the same relative location > from the non-rooted and rooted directory? QT_LIBRARY_DIR, QT_HEADERS_DIR, ... are detected fine in and with the given root path. Then FIND_PATH is used to find the modul

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-10 Thread Markus Rathgeb
Sorry, I forgot the attachement. 2011/3/10 Markus Rathgeb : >> Ok, and what was the error you were getting? >> Is this a problem because you have Qt installed in the same relative location >> from the non-rooted and rooted directory? > > QT_LIBRARY_DIR, QT_HEADERS_DIR, ... are detected fine in and

Re: [CMake] Fail to Compile cmake on OSX 10.4

2011-03-10 Thread Olivier Cessenat
Hi, I managed to compile cmake-2.8.3 using the pre-built binary for Mac release 2.8.4. I failed to do it through nfs though. It seems a bit awkward to me to have to do such a tricky thing ! Cheers, Olivier Cessenat. Le mercredi 09 mars 2011 à 21:01 +0100, Olivier Cessenat a écrit : > Le mercredi

[CMake] Mac rpaths

2011-03-10 Thread Clinton Stimpson
Does CMake have native support for the -rpath linker flag on Mac? I'm wondering about using @rpath/... on Mac 10.5+ for some libraries in an arbitrary location, and still have apps work in a build tree using those libraries. -- Clinton Stimpson Elemental Technologies, Inc Computational Simula

Re: [CMake] QtCreator project generator

2011-03-10 Thread Alexander Neundorf
On Thursday 10 March 2011, Campbell Barton wrote: > On Mon, Mar 7, 2011 at 8:46 PM, Alexander Neundorf > > wrote: > > On Friday 04 March 2011, Campbell Barton wrote: > >> On Thu, Mar 3, 2011 at 5:10 PM, Alexander Neundorf > >> > >> wrote: > >> > On Tuesday 01 March 2011, Campbell Barton wrote: >

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-10 Thread Clinton Stimpson
On Thursday, March 10, 2011 01:54:00 am Markus Rathgeb wrote: > Hello! > > First of all, the root filesystem is created with ptxdist (if it is > known to you). > > >> I am using cmake for cross compiling of several Qt applications. > >> To do this with cmake v2.8.4 I have to change the FindQt4.cm

Re: [CMake] Warning with ccmake 2.8.4

2011-03-10 Thread Brad King
On 03/08/2011 11:17 AM, Andreas Kelle-Emden wrote: > Am 08.03.2011 17:11, schrieb Brad King: >> Does it happen even if you don't pass -D... on ccmake's command line >> when regenerating an existing build tree? > > No, it runs perfectly on an existing tree. Okay, I can reproduce this: $ cmake ..

Re: [CMake] adjusting CMAKE_Fortran_LINK_EXECUTABLE

2011-03-10 Thread Brad King
On 03/10/2011 03:48 AM, Ilias Miroslav wrote: > By default, the current CMAKE_Fortran_LINK_EXECUTABLE consists of several > variables: > > " > -o " [snip] > selected variables only: "-o > " The are in there because there are cases where the compiler front-end needs to know what c

Re: [CMake] newbie q - where do I put what in which CMakeLists file? out of source build

2011-03-10 Thread Michael Hertling
On 03/10/2011 03:11 AM, Pierre Abbat wrote: > On Wednesday 09 March 2011 13:09:39 Michael Hertling wrote: >> Could you boil down your project to a minimal but complete example >> which demonstrates the issues with the header not being found and >> the files not being placed properly and post it her

Re: [CMake] QtCreator project generator

2011-03-10 Thread John Beuving
Op 10-3-2011 5:09, Campbell Barton schreef: or parses the -D options and uses them ? > > If so, please add this to the cmake bug tracker as feature request. > Hi, We were struggling with the same dificulties. The previously provided patch for CMake brought us closer to the solution. My colleg

[CMake] INSTALL target in Visual Studio Configuration selected by default

2011-03-10 Thread Paul Baumer
Hello, I use cmake most of the time with Visual Studio. By default the INSTALL target is not selected in the Configuration Manager for a cmake solution. I would like to change this default. Any suggestions ? P.S. If this needs to make some changes to the generators, I have no problem with that e

Re: [CMake] infinite loop when using function overriding

2011-03-10 Thread Eric Noulard
2011/3/9 David Cole : > This is a question for folks at Stack Overflow. Literally. :-) > > I'm assuming you mean "_add_library(${name} ${ARGN})"? > > The "override and call original with a leading _" is probably not well > documented anywhere. While it's useful on occasion, we do not recommend > us

Re: [CMake] [PATCH] Qt cross compile with cmake v2.8.4

2011-03-10 Thread Markus Rathgeb
Hello! First of all, the root filesystem is created with ptxdist (if it is known to you). >> I am using cmake for cross compiling of several Qt applications. >> To do this with cmake v2.8.4 I have to change the FindQt4.cmake file. >> >> The variables QT_LIBRARY_DIR, QT_HEADERS_DIR, QT_BINARY_DIR

Re: [CMake] adjusting CMAKE_Fortran_LINK_EXECUTABLE

2011-03-10 Thread Ilias Miroslav
Ad: http://www.mail-archive.com/cmake@cmake.org/msg34968.html Dear Bill, -- By default, the current CMAKE_Fortran_LINK_EXECUTABLE consists of several variables: " -o " We would like to know how to restrict the CMAKE__LINK_EXECUTABLE parameter t

Re: [CMake] newbie q - where do I put what in which CMakeLists file? out of source build

2011-03-10 Thread Eric Noulard
2011/3/10 David Cole : > Well if the build directory is *in* the source directory, then make > package_source *should* include it. > > This is not a problem, but the expected behavior. > If you don't want the build tree in the source tree, then don't put it > there. Or do include "${CMAKE_BINARY_D