Re: [CMake] How to substitute zero in a variable

2008-09-25 Thread Timenkov Yuri
On Thu, Sep 25, 2008 at 12:12 AM, Eric (Brad) Lemings [EMAIL PROTECTED]wrote: Consider the following: CMakeLists.txt: set (ZERO 0) configure_file ( ${CMAKE_SOURCE_DIR}/include/config.h.cmake ${CMAKE_BINARY_DIR}/include/config.h )

Re: [CMake] [New Module] FindXXX module for RTI

2008-09-25 Thread Gotthard, Petr
Oops, I forgot. This is now fixed too. http://public.kitware.com/Bug/file_download.php?file_id=1739type=bug Petr From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Lowman Sent: Thursday, September 25, 2008 5:40 AM To: Gotthard, Petr Cc: Eric

[CMake] [New Module] Xerces-C

2008-09-25 Thread Aleksandar Samardzic
Attached is a proposal for Xerces-C XML parser (http://xerces.apache.org/xerces-c/) module for CMake; the module is built after zlib module from CMake distribution. Regards, Alex FindXercesC.cmake Description: Binary data ___ CMake mailing list

[CMake] qt standalone project : static link or dll copy (and how to do it?)

2008-09-25 Thread Mehdi Rabah
Hi, I need my qt project to be standalone when installing (cpack is taking care of the packaging). Can you tell me how to make a static link or how to copy the Qt dll? I'm using FintQt4. I tried to set the QT_CONFIG (found in FindQt4) to static, it doesn't seem to do what I expected.I also tried

[CMake] Eclipse CDT 4 Generator crashes reproducable in case of out-of-source-builds

2008-09-25 Thread Thomas Veith
Hi *, with cmake 2.6.1 using the Eclipse CDT Generator I get reproducable crashes: std::string outputPath = mf-GetDefinition(EXECUTABLE_OUTPUT_PATH); in the function void cmExtraEclipseCDT4Generator::CreateProjectFile(): ... // TODO: refactor this // create linked resources if

Re: [CMake] Eclipse CDT 4 Generator crashes reproducable in case of out-of-source-builds

2008-09-25 Thread Philip Lowman
On Thu, Sep 25, 2008 at 8:03 AM, Thomas Veith [EMAIL PROTECTED]wrote: Hi *, with cmake 2.6.1 using the Eclipse CDT Generator I get reproducable crashes: std::string outputPath = mf-GetDefinition(EXECUTABLE_OUTPUT_PATH); This bug was fixed in one of the early CMake 2.6.2 Release

Re: [CMake] qt standalone project : static link or dll copy (and how to do it?)

2008-09-25 Thread Michael Jackson
The following is what I use. There may be better methods or methods that are now built into CMake 2.6.x that I am unaware of. # -- # This CMake code installs the needed support libraries on NON OSX platforms #

Re: [CMake] [New Module] Xerces-C

2008-09-25 Thread Timenkov Yuri
This week I played with xerces too :) but on windows, so I suppose there will be different view point on this problem. 1) I think using FIND_PATH(XERCESC_INCLUDE_DIR xercesc/util/XercesVersion.hpp) is slightly better, because there may be different xercesc files or directories. 2)

[CMake] Install library

2008-09-25 Thread Jan Dinger
Hallo folks, I've build my library with cmake, and I'll install (make install) my library, it works fine, but I've a permission problem, the builded library has the following permissions: ### snip ### lrwxrwxrwx 1 jan jan 21 2008-09-25 15:48 libcorealgorithm.so - libcorealgorithm.so.0

Re: [CMake] Install library

2008-09-25 Thread Timenkov Yuri
Look for CMAKE_INSTALL_SO_NO_EXE in your cache / CMakeLists. Also, look for its definition in cmake/Modules/Platform/Linux.cmake. On Thu, Sep 25, 2008 at 5:54 PM, Jan Dinger [EMAIL PROTECTED]wrote: Hallo folks, I've build my library with cmake, and I'll install (make install) my library, it

Re: [CMake] Install library

2008-09-25 Thread Jan Dinger
Hello I've put this in my CMakeLists.txt ### snip ### SET(CMAKE_INSTALL_SO_NO_EXE 0) ### snap ### It works fine, thanks a lot so long jd ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] CMake 2.6.2 available for download

2008-09-25 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.2 is available for download at: http://www.cmake.org/cmake/resources/software.html If you have any problems or find any bugs, please report them at www.cmake.org/Bug. A list of

Re: [CMake] Dependencies and ADDITIONAL_MAKE_CLEAN_FILES

2008-09-25 Thread Mike Arthur
On Tuesday 23 September 2008 22:29:38 Phil Smith wrote: How does CMAKE decide on its own that A.c is dependent on B.c, and that compiling A.c thus requires compiling B.c? I'm somewhat confused by what you mean. In basic terms CMake is about creating libraries or executables. A

Re: [CMake] [New Module] Protocol buffers

2008-09-25 Thread Mike Arthur
On Wednesday 24 September 2008 09:59:11 Esben Mose Hansen wrote: Is there something I can do to move this onwards? Personally, I think it would be beneficial to have a repository with experimental CMake modules, from which the kitware people could move modules into the official build when

Re: [CMake] [New Module] Protocol buffers

2008-09-25 Thread Mike Arthur
On Thursday 25 September 2008 17:36:52 Bill Hoffman wrote: Please see here: snip New modules added to the bug tracker are generally ignored. Patches for existing ones are assigned to the maintainer. It would be nice if you could send the above links and close the bug instead rather than

[CMake] CMake 2.6.2 ignores my DEBUG_CONFIGURATIONS global property!

2008-09-25 Thread cyril_wobow
CMake 2.6.2 ignores my DEBUG_CONFIGURATIONS global property! After a quick step in cmake's code, it looks like the property falls into another cmPropertyMap object than the one where it is look for (they belong to two different cmake objects) Did I miss something ? Awesome work though! Cyril

[CMake] Unix Makefiles can not find some project files

2008-09-25 Thread Mike Jackson
I started down the path of using Unix Makefiles on Windows. Here is what I have done so far. I downloaded the GnuWin32 files to my PC. I edited the .bat file that launches GnuWin32 shell and added the Visual Studio 2008 vsvars.bat file. I open a new GnuWin32 shell and type cl.exe and get the

Re: [CMake] CMake 2.6.2 ignores my DEBUG_CONFIGURATIONS global property!

2008-09-25 Thread cyril_wobow
Nevermind, I've just understood that this feature is not part of 2.6.2. Guess I'll have to use the cvs branch until next release :| Cyril cyril_wobow a écrit : CMake 2.6.2 ignores my DEBUG_CONFIGURATIONS global property! After a quick step in cmake's code, it looks like the property falls

Re: [CMake] Assembler and C++ for the same target

2008-09-25 Thread Hendrik Sattler
Am Thursday 25 September 2008 17:45:54 schrieb Stefan Weber: I am working on a C++ project which is using a single assembler file (among all the C++ files). In the mailinglist archives I found some hints on how to use the experimental ASM mode. However, as I only have a single ASM file, I'm

Re: [CMake] [New Module] Protocol buffers

2008-09-25 Thread Bill Hoffman
Mike Arthur wrote: On Thursday 25 September 2008 17:36:52 Bill Hoffman wrote: Please see here: snip New modules added to the bug tracker are generally ignored. Patches for existing ones are assigned to the maintainer. It would be nice if you could send the above links and close the bug

Re: [CMake] [New Module] Xerces-C

2008-09-25 Thread Aleksandar Samardzic
On Thu, Sep 25, 2008 at 3:46 PM, Timenkov Yuri [EMAIL PROTECTED] wrote: This week I played with xerces too :) but on windows, so I suppose there will be different view point on this problem. 1) I think using FIND_PATH(XERCESC_INCLUDE_DIR xercesc/util/XercesVersion.hpp) is slightly better,

Re: [CMake] Unix Makefiles can not find some project files

2008-09-25 Thread Bill Hoffman
Mike Jackson wrote: I started down the path of using Unix Makefiles on Windows. Here is what I have done so far. I downloaded the GnuWin32 files to my PC. I edited the .bat file that launches GnuWin32 shell and added the Visual Studio 2008 vsvars.bat file. I open a new GnuWin32 shell and type

Re: [CMake] Assembler and C++ for the same target

2008-09-25 Thread Stefan Weber
Ideally, I would like to pass it to add_library with all the other source files (in the same way I can pass it to C++ which automatically forwards it to the assembler). This is not working, Stop. The next step is no logical one. If it doesn't work for one target, why Should it for

Re: [CMake] Assembler and C++ for the same target

2008-09-25 Thread Stefan Weber
I just spotted yet another issue that might influence the solution: Note the capital S in the file extension of the ASM file. It seems this is crucial: when I rename to a small s and manually pass it to g++ it does not work anymore. When I leave the cap S, it works. Looking a bit deeper shows

Re: [CMake] Assembler and C++ for the same target

2008-09-25 Thread Hendrik Sattler
Am Thursday 25 September 2008 23:50:33 schrieb Stefan Weber: I think I was not clear enough here: it is not working when I combine ASM source files and CXX source files and as I found out by now, this is probably not supported anways. (Mixing ASM and C++ source files would be the ideal