[CMake] Better BlueGene/P and cross-compile support for CMake

2010-06-23 Thread Todd Gamblin
Hi, I'm doing research on scalable performance tools at Lawrence Livermore and my group is very enthusiastic about switching to CMake for most of our development. I've been trying to get a proof of concept port from autotools to CMake done for a simple project, and things seem to work ok for

[CMake] CMake - overriding shared linker flags

2010-06-23 Thread K Lakshman
Hi, I'm trying to build a shared library (gcc on Linux CentOS) with -pie flag. If I simply add the flag -pie to CMAKE_SHARED_LINKER_FLAGS -Wl,-pie, the command that gets invoked looks like this: gcc -shared -Wl,-pie rest of the command -o libmylibrary.so A shared library built like this is not

Re: [CMake] CPack (RPM) and install()

2010-06-23 Thread David Cole
Well known issue for quite some time now. See the quite extensive notes in this bug: http://public.kitware.com/Bug/view.php?id=7000 You can set CPACK_SET_DESTDIR to ON in your CMakeLists.txt file to get this to work with the RPM CPack generator. It would be fabulous if there were a way to fix

Re: [CMake] CPack (RPM) and install()

2010-06-23 Thread Eric Noulard
2010/6/23 Magnus Therning mag...@therning.org: The documentation for install() is clear, an absolute path (e.g. '/usr/lib') is used directly and relative path (e.g. 'lib') is prefixed by CMAKE_INSTALL_PREFIX.  Another thing to note is that 'make DESTDIR=foo install' *always* works as expected!

Re: [CMake] ADD_CUSTOM_COMMAND split on multiple lines

2010-06-23 Thread Tyler Roscoe
On Wed, Jun 23, 2010 at 03:58:59PM +0200, Aeschbacher, Fabrice wrote: Is there any way to split a custom command on multiple lines (for readability), e.g: ADD_CUSTOM_COMMAND( OUTPUT .patched COMMAND for patch in ${ARGV}; do\ echo applying $patch; \

Re: [CMake] CPack (RPM) and install()

2010-06-23 Thread Magnus Therning
On Wed, Jun 23, 2010 at 15:41, Eric Noulard eric.noul...@gmail.com wrote: 2010/6/23 Magnus Therning mag...@therning.org: [...] - The variable CMAKE_INSTALL_PREFIX is not used at all during RPM building.  CMAKE_INSTALL_PREFIX is /usr/local, but files get put into /usr in the RPM.  Is this a

[CMake] CMake for PS2

2010-06-23 Thread Mathias Lafeldt
I'm currently developing CMake scripts to support the PS2 console: http://bitbucket.org/misfire/cmake-ps2/src/ FYI, the PS2 has two processors: - EE (Emotion Engine, 64-bit MIPS-III R5900) and - IOP (I/O processor, 32-bit MIPS-I R3000) There's a working toolchain including ee-gcc, iop-gcc,

Re: [CMake] CMake - overriding shared linker flags

2010-06-23 Thread Hendrik Sattler
Am Mittwoch 23 Juni 2010, 15:38:40 schrieb K Lakshman: I didn't really think of that (why no library does it). Can you tell me what the issues are? I suggest looking at the libc source code, e.g. the entry point for libpthread is in nptl/version.c Seperating that as libfoo.so and foo-config

Re: [CMake] CPack (RPM) and install()

2010-06-23 Thread Eric Noulard
2010/6/23 Magnus Therning mag...@therning.org: On Wed, Jun 23, 2010 at 15:41, Eric Noulard eric.noul...@gmail.com wrote: 2010/6/23 Magnus Therning mag...@therning.org: [...] - The variable CMAKE_INSTALL_PREFIX is not used at all during RPM building.  CMAKE_INSTALL_PREFIX is /usr/local, but

[CMake] Open bugs in 2.8.2-rc3

2010-06-23 Thread Rolf Eike Beer
Hi, I checked 2.8.2-rc2 last week and had a quick look on the changes mentioned for rc3. So here is a collection of my open bugs: -0010476 No program output if CTest aborts test with timeout -0007866 64 Bit platform is not reported correctly on Windows64 Bug report includes a patch that at

[CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread j s
I am on a macbook, and when I try to compile cmake 2.8.1 using cmake, I get the following errors: In file included from /Users/jsanchez/tclmake/cmake/cmake-2.8.1/Source/kwsys/SystemInformation.cxx:29: /cmake_debug/Source/cmsys/FundamentalType.h:75:3: error: #error No native data type can represent

Re: [CMake] Open bugs in 2.8.2-rc3

2010-06-23 Thread Bill Hoffman
On 6/23/2010 2:14 PM, Rolf Eike Beer wrote: Hi, I checked 2.8.2-rc2 last week and had a quick look on the changes mentioned for rc3. So here is a collection of my open bugs: -0010476 No program output if CTest aborts test with timeout This is really hard to fix, a patch would be welcome.

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Michael Wild
On 23. Jun, 2010, at 20:51 , j s wrote: I am on a macbook, and when I try to compile cmake 2.8.1 using cmake, I get the following errors: In file included from /Users/jsanchez/tclmake/cmake/cmake-2.8.1/Source/kwsys/SystemInformation.cxx:29: /cmake_debug/Source/cmsys/FundamentalType.h:75:3:

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread j s
Juan Works fine here (x86_64, Mac OS X 10.6.4, CMake 2.8.1 installed via homebrew). Michael Again, it doesn't work for me. Using bootstrap does, but I am trying to build cmake using cmake. It looks like the issue is that FundamentalTypes.h is not being generated correctly. 10.3.0 Darwin

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Michael Jackson
Nuke everything and start again from a fresh source directory. I have seen this with dirty build folders that were some how messed up from in source bootstraping then running cmake to configure cmake. Hope that helps. - Mike Jackson www.bluequartz.net Principal Software

Re: [CMake] CMake for PS2

2010-06-23 Thread Alexander Neundorf
On Wednesday 23 June 2010, Mathias Lafeldt wrote: I'm currently developing CMake scripts to support the PS2 console: http://bitbucket.org/misfire/cmake-ps2/src/ FYI, the PS2 has two processors: - EE (Emotion Engine, 64-bit MIPS-III R5900) and - IOP (I/O processor, 32-bit MIPS-I R3000)

Re: [CMake] Better BlueGene/P and cross-compile support for CMake

2010-06-23 Thread Alexander Neundorf
Hi, On Wednesday 23 June 2010, Todd Gamblin wrote: Hi, I'm doing research on scalable performance tools at Lawrence Livermore and my group is very enthusiastic about switching to CMake for most of our development. I've been trying to get a proof of concept port from autotools to CMake

[CMake] customize cpack windows installer

2010-06-23 Thread Alexandre Gramfort
Hi, I'm deploying a cmake project on windows and I have a few questions concerning the installer generated by cpack using NSIS - is it possible to remove the mention create desktop icon since the installer contains only command line tools? - is it possible to provide an installer that works

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Michael Jackson
Submit a bug report and attach the out put and error logs to the bug report. I have also seen recently where macports was messing with cmake. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Bill Hoffman
On 6/23/2010 6:12 PM, Michael Jackson wrote: From a clean build, it does not work: 1 wget http://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gzhttp://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gz 2 tar xzvf cmake-2.8.1.tar.gz 3 mkdir cmake 4 cd cmake 5 cmake ../cmake-2.8.1

Re: [CMake] itk fatal configuration error

2010-06-23 Thread Dean Inglis
This seems to be a CMake 2.8 issue. I tried ITK 3.18.0 and 3.16.0 but no go. I replaced CMake 2.8 with 2.6 and now I have no build problems. I am posting to CMake users as well for any possible additional feedback, thanks Dean Im building cvs ITK against static release builds of svn gdcm

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Michael Wild
On 24. Jun, 2010, at 3:11 , Bill Hoffman wrote: On 6/23/2010 6:12 PM, Michael Jackson wrote: From a clean build, it does not work: 1 wget http://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gzhttp://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gz 2 tar xzvf cmake-2.8.1.tar.gz 3 mkdir

[Cmake-commits] CMake branch, next, updated. v2.8.1-1476-g04c04e5

2010-06-23 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 04c04e59692b75cadb9ccd9ab7b43c151eaf200e (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.1-1478-g97c0dd3

2010-06-23 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 97c0dd3d52be1fb9b838406ffb3e05fa23d7f2c6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.1-1480-g62a0993

2010-06-23 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 62a0993c3ff758aa509fd115ecef4fbbb1700d0d (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.1-1482-g2563b77

2010-06-23 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 2563b770c24a3bd2284e839e65b1a98893d24962 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.1-1484-gf8370df

2010-06-23 Thread Zach Mullen
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 f8370df82654be256ddc879a4313d7f7b8c33ce6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.1-1486-g1c8c204

2010-06-23 Thread Clinton Stimpson
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 1c8c20485992bdbb224c99eec80715cb2d6b5a50 (commit) via