Re: [CMake] Issue using cmake with mingw

2011-05-11 Thread Eric Noulard
2011/5/11 AMARNATH, Balachandar balachandar.amarn...@airbus.com: Hi, I am trying to compile (cross) a library in linux (debian) under mingw. I have installed the mingw packages for debian (gcc-mingw32, mingw32-binutils, mingw32-runtime) and have specified i586-mingw32-gcc, i586-mingw32-c++

[CMake] Creating an RPM package on AIX fails

2011-05-11 Thread Pasi Valminen
Hi, I tried to create a simple RPM package on AIX with CPack, but my attempt resulted in an empty RPM file since the file list population failed. In the process I got a couple of error messages from `find' and `sed' which turned out to be pretty easy to fix to work both on Linux and AIX, which

Re: [CMake] Creating an RPM package on AIX fails

2011-05-11 Thread Eric Noulard
2011/5/11 Pasi Valminen pasi.valmi...@gmail.com: Hi, I tried to create a simple RPM package on AIX with CPack, but my attempt resulted in an empty RPM file since the file list population failed. In the process I got a couple of error messages from `find' and `sed' which turned out to be

Re: [CMake] Creating an RPM package on AIX fails

2011-05-11 Thread Pasi Valminen
On Wed, May 11, 2011 at 10:42 AM, Eric Noulard eric.noul...@gmail.comwrote: 2011/5/11 Pasi Valminen pasi.valmi...@gmail.com: Hi, I tried to create a simple RPM package on AIX with CPack, but my attempt resulted in an empty RPM file since the file list population failed. In the process

Re: [CMake] Express Edition

2011-05-11 Thread Daniel Pfeifer
CMake does a check for the compiler. But not for the IDE. If you are using the free compiler that is included in C++ Express, then the CMAKE_USING_VC_FREE_TOOLS variable is set. It is however possible to use the free compiler in the professional IDE and vice versa. So using

Re: [CMake] OSX Bundling

2011-05-11 Thread jtwadsworth
Michael Jackson wrote: Does the app actually use carbon or cocoa for it's windowing API or is it simply an x11 app that compiles on OS x? What is the name of the project? Is it open source so that we can download it and take a look? Mike Jackson Not just compiling on OSX (which it does

Re: [CMake] Trying to rebuild cmake on windoze...

2011-05-11 Thread Michael Wild
On 05/11/2011 07:23 PM, Dick Munroe wrote: For which I needed to download the zlib dll, but when I try to fire up the newly build cmake 2.8.4, I get the following error: The procedure entry point GetRunningObjectTable could not be located in the dynamic link library zlib1.dll I'm using

[CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Alexander Neundorf
Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different repositories, mostly git repositories. AFAIK I can basically do this using the ExternalProject_add() feature of cmake,

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Alexander Neundorf
On Wednesday 11 May 2011, Jean-Christophe Fillion-Robin wrote: Hi Alexander, Assuming the subproject are CMakeified: 1) Set the INSTALL command of each External project to an empty string ...but the INSTALL_DIR to the final location I assume ? Then the project will be built in build

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Jean-Christophe Fillion-Robin
2011/5/11 Alexander Neundorf a.neundorf-w...@gmx.net On Wednesday 11 May 2011, Jean-Christophe Fillion-Robin wrote: Hi Alexander, Assuming the subproject are CMakeified: 1) Set the INSTALL command of each External project to an empty string ...but the INSTALL_DIR to the final

[CMake] Using KWSys to execute a detached process (Linux)

2011-05-11 Thread Daniel Blezek
Hi, I¹ve been fruitlessly trying to use KWSys to execute a detached process in Linux. Perhaps it is not surprising that this fails, because the detach code does not seem to be tested. Does anyone have an experience or suggestions? Here¹s a snippit of my code: itksysProcess_SetCommand

Re: [CMake] [Insight-developers] Using KWSys to execute a detached process (Linux)

2011-05-11 Thread Brad King
On 05/11/2011 05:22 PM, Daniel Blezek wrote: the detach code does not seem to be tested It is built as a test in KWSys under CMake but is not run automatically. I don't remember why, but I can run the test by hand and it passes: $ ./kwsysTestProcess 8 Output on stdout before test 8. Output

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Michael Hertling
On 05/11/2011 09:07 PM, Alexander Neundorf wrote: Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different repositories, mostly git repositories. AFAIK I can basically

[CMake] FindZLIB on ubuntu 11.04

2011-05-11 Thread Surya Kiran Gullapalli
Hello, With 64bit Ubuntu 11.04, CMake is unable to find ZLIB library. This is because the library libz.so is located in a non-standard location /lib/x86_64-linux-gnu/libz.so and /usr/lib/x86_64-linux-gnu/libz.so (a symbolic link to the former). I can create a link for libz.so in /usr/lib, but is

Re: [CMake] FindZLIB on ubuntu 11.04

2011-05-11 Thread Andreas Rönnquist
On 2011-05-12 03:55, Surya Kiran Gullapalli wrote: Hello, With 64bit Ubuntu 11.04, CMake is unable to find ZLIB library. This is because the library libz.so is located in a non-standard location /lib/x86_64-linux-gnu/libz.so and /usr/lib/x86_64-linux-gnu/libz.so (a symbolic link to the

[CMake] Parameters of functions

2011-05-11 Thread Micha Renner
This is funny: FUNCTION(build var) MESSAGE(STATUS var: ${${var}}) ENDFUNCTION(build) SET(var red blue yellow green) build(var) Output: -- var: var SET(varX red blue yellow green) build(varX) Output: -- var: redblueyellowgreen Greetings Micha

[Cmake-commits] CMake branch, next, updated. v2.8.4-1519-g4e2c10a

2011-05-11 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 4e2c10a4995c91c5b85c7adfd9d642a80d0f3a68 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1521-g00b2337

2011-05-11 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 00b2337799ccff1c5e0e3c9bc5c7c852044d7e73 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-423-gda9ba57

2011-05-11 Thread KWSys Robot
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, master has been updated via da9ba5726fbb89e3e909ce5e1fcd2e0814ef9460 (commit) from