Re: [CMake] portable linux binaries?

2009-11-30 Thread Alexander Neundorf
On Sunday 29 November 2009, j s wrote: Hello, I am running: cmake version 2.4-patch 7 on Ubuntu 8.04 and I can't get this option to work, whether it is in CMakeLists.txt or on the command line. rm CMakeCache.txt; cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE

Re: [CMake] portable linux binaries?

2009-11-29 Thread j s
Hello, I am running: cmake version 2.4-patch 7 on Ubuntu 8.04 and I can't get this option to work, whether it is in CMakeLists.txt or on the command line. rm CMakeCache.txt; cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE -DCMAKE_INSTALL_RPATH='$ORIGIN/../lib/shared' ../src/; grep RPATH

Re: [CMake] portable linux binaries?

2009-11-24 Thread Alexander Neundorf
On Tuesday 24 November 2009, j s wrote: The most interesting thing is to be able to set the relative RPATH. Is there a way to do this for a normal build, and not the install target? I never use the install target for my project, but I'd like to be able to set the relative path to my own copy

Re: [CMake] portable linux binaries?

2009-11-24 Thread j s
Thanks, that should work. Regards, Juan 2009/11/24 Alexander Neundorf a.neundorf-w...@gmx.net On Tuesday 24 November 2009, j s wrote: The most interesting thing is to be able to set the relative RPATH. Is there a way to do this for a normal build, and not the install target? I never

[CMake] portable linux binaries?

2009-11-23 Thread Mark Moll
Is there any mechanism in CMake that would make it easier to create Linux binaries that run on more than one version of Linux / glibc? I am thinking of something along the lines of the support for OS X Universal Binaries in CMake or the functionality provided by apgcc in the autopackage tool

Re: [CMake] portable linux binaries?

2009-11-23 Thread Bill Hoffman
Mark Moll wrote: Is there any mechanism in CMake that would make it easier to create Linux binaries that run on more than one version of Linux / glibc? I am thinking of something along the lines of the support for OS X Universal Binaries in CMake or the functionality provided by apgcc in the

Re: [CMake] portable linux binaries?

2009-11-23 Thread j s
The most interesting thing is to be able to set the relative RPATH. Is there a way to do this for a normal build, and not the install target? I never use the install target for my project, but I'd like to be able to set the relative path to my own copy of libstdc++. All of the RPATH settings in