Re: [CMake] CPack Stripping Debug

2008-08-01 Thread Yuri V. Timenkov
On Thursday 31 July 2008 22:47:10 Bill Hoffman wrote: Paul Hatfield wrote: When compiling a binary with CMAKE_BUILD_TYPE as RelWithDebInfo, I verify that the binary has debug symbols, but when I generate an rpm using Cpack the debug symbols are lost. What's causing this? rpm

Re: [CMake] cmake 2.5 with windows mobile

2008-08-01 Thread Artur Wisz
Hi Bartek, no, after spending a couple of hours on this I gave up, we had to move on with our project. It looks like it is more difficult than the cmake's maintainers think. At least a good knowledge of cmake's architecture is needed as well as the specifics of WinCE build process, which

Re: [CMake] cmake 2.5 with windows mobile

2008-08-01 Thread Andreas Pokorny
Hello, We are building for Win32, WinCE, QNX, Linux and hopefully soon also Symbian, with mostly cross compile setups using cmake. But note, that right now cross compiling only works for gnu make and nmake. Someone on this list also managed to extend the Visual Studio generator to support

[CMake] CMake, including internal libraries with subdirs

2008-08-01 Thread Julien Michel
Dear CMake users, Let assume that I have two libraries, A and B. These two libraries are built with CMake. A is the library I am developping, and it relies on B. Of course I use FIND_PACKAGE(B) to tell CMake to look for B when building A. Now, I would like my users to have less libraries to

[CMake] Problems with project file regeneration using VS 2008

2008-08-01 Thread Mika Fischer
Hi, I'm using the following code to copy header files from the source tree into the build tree, on the way configuring config.h: ### # Copy includes to build directory, generating config.h

[CMake] Some Errors using cmake-2.6

2008-08-01 Thread Jan Dinger
Hello folks, I've wrote a test program for testing cmake in Qt4. Iam using cmake-2.6 Debian-sid. In the first time cmake crashs with some errors. RegularExpression::compile(): Nested *?+. RegularExpression::compile(): Error in compile. CMake Error at

Re: [CMake] CMake, including internal libraries with subdirs

2008-08-01 Thread Yuri V. Timenkov
On Friday 01 August 2008 17:18:05 Julien Michel wrote: Dear CMake users, Let assume that I have two libraries, A and B. These two libraries are built with CMake. A is the library I am developping, and it relies on B. Of course I use FIND_PACKAGE(B) to tell CMake to look for B when building

Re: [CMake] Some Errors using cmake-2.6

2008-08-01 Thread David Cole
Rename your directory to get rid of the ++ in the name... It's confusing some regular expression matching rules in the CMake scripts. On Fri, Aug 1, 2008 at 11:43 AM, Jan Dinger [EMAIL PROTECTED]wrote: Hello folks, I've wrote a test program for testing cmake in Qt4. Iam using cmake-2.6

[CMake] generating VC projects

2008-08-01 Thread Hari Sundar
Hi, I have Cmake set up to generate project files for VC6. This works fine. The project can only be compiled with the VC6 compiler because of legacy code. What I am interested in is to know if it is possible to generate a VC 7,8,9 project using CMake, which will use the VC6 compiler ? Basically

[CMake] CMake 2.6.1 available for download

2008-08-01 Thread Bill Hoffman
On behalf of myself, Ken, Brad, Dave, Alex and the rest of the CMake team, we are pleased to announce that CMake 2.6.1 is available for download at: http://www.cmake.org/HTML/Download.html If you have any problems or find any bugs, please report them at www.cmake.org/Bug. A list of changes for

[CMake] cmake on different systems

2008-08-01 Thread Jan Dinger
Hello folks, I'll use cmake for my qt-apps, but I've a little trouble. If I run cmake under Debian-sid all works fine, next tray I run cmake under Debian-lenny, and now I'vr trouble. Cmake failed with an error: ###snip### Please set the following variables: QT_X11_Xext_LIBRARY (ADVANCED)

Re: [CMake] CMake 2.6.1 available for download

2008-08-01 Thread Alan W. Irwin
On 2008-08-01 13:12-0400 Bill Hoffman wrote: On behalf of myself, Ken, Brad, Dave, Alex and the rest of the CMake team, we are pleased to announce that CMake 2.6.1 is available for download at: http://www.cmake.org/HTML/Download.html Could you please digitally sign your downloadable files

Re: [CMake] Error running link command: Argument list too long

2008-08-01 Thread Andrew Sayman
On Fri, Aug 1, 2008 at 9:13 AM, Brad King [EMAIL PROTECTED] wrote: All the fixes you've seen are for Windows with its 32k command line length limit. This is the first time I've seen someone with so many object files that it gives Linux a problem. What is the error message that you get? Error

Re: [CMake] Debug libraries

2008-08-01 Thread Leopold Palomo Avellaneda
A Dimarts 29 Juliol 2008, Yuri Timenkov va escriure: On Monday 28 July 2008 22:14:51 Leopold Palomo-Avellaneda wrote: Hi, I'm not a windows user and now, sadly, I have to develop an application with Visual Studio 2005. I'm porting an application that use OpenGL, Coin3d, SoQt and Qt4.4.

[CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Leopold Palomo Avellaneda
Hi, I'm a Linux user and I'm uncomfortable in the windows environment. In Linux, I can create a C++ library with cmake without any problem. The so version and the .a (static version). But, my question is about windows. If I have a shared library that works in Linux, may I have to do something

Re: [CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Mike Jackson
Well, basically, Cmake will _help_ you create your library BUT there is some work that you need to add to your project. Say your library is named mylib and Your project name is MyLib. When you do Add_library(MyLib SHARED ${Sources}) cmake will automatically add a definition MyLib_EXPORT to

Re: [CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Leopold Palomo Avellaneda
Mike, yes it helps, and a lot Now, in the class declaration for each of your classes add the definition: I understand that you have to add: class MYLIB_EXPORT MyClass for all the classes, but also for the structs , and functions? Leo A Dissabte 02 Agost 2008, Mike Jackson va

Re: [CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Hendrik Sattler
Am Samstag, 2. August 2008 00:41:11 schrieb Leopold Palomo Avellaneda: I understand that you have to add: class MYLIB_EXPORT MyClass for all the classes, but also for the structs , and functions? If a class is exported, its member functions also get exported. For non-member function,

Re: [CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Leopold Palomo Avellaneda
A Dissabte 02 Agost 2008, Hendrik Sattler va escriure: Am Samstag, 2. August 2008 00:41:11 schrieb Leopold Palomo Avellaneda: I understand that you have to add: class MYLIB_EXPORT MyClass for all the classes, but also for the structs , and functions? If a class is exported, its

Re: [CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Hendrik Sattler
Am Samstag, 2. August 2008 01:21:01 schrieb Leopold Palomo Avellaneda: A Dissabte 02 Agost 2008, Hendrik Sattler va escriure: Am Samstag, 2. August 2008 00:41:11 schrieb Leopold Palomo Avellaneda: I understand that you have to add: class MYLIB_EXPORT MyClass for all the classes,

Re: [CMake] Creating libraries (DLL) in windows

2008-08-01 Thread Leopold Palomo Avellaneda
A Dissabte 02 Agost 2008, Hendrik Sattler va escriure: Am Samstag, 2. August 2008 01:21:01 schrieb Leopold Palomo Avellaneda: A Dissabte 02 Agost 2008, Hendrik Sattler va escriure: Am Samstag, 2. August 2008 00:41:11 schrieb Leopold Palomo Avellaneda: I understand that you have to add: