Re: [CMake] cmake variables to control full path in shared lib on OSX

2008-09-19 Thread Martin Costabel
Darren Weber wrote: I'm exploring how to build and install VTK-5-2-0 on OSX. I'm trying to use shared libraries, but the default settings do not put full paths in the .dylib file links for the libvtk* libraries. I am using a non-standard install path (macports /opt/local), so I may need to set

[CMake] CTest and multiple platform configurations

2008-09-19 Thread Clemens Arth
Hi, I'm currently trying to set up ctest to work with multiple configurations. One issue I came across is the way of using ctest with different platform configurations. For example, my configuration does not only include Release|Win32 and Debug|Win32, but also Release|Pocket PC 2003 (ARMV4)

[CMake] nmake, automoc and cmake problem

2008-09-19 Thread Boudewijn Rempt
Hi, We're having a little problem when trying to compile a Qt-based library (libiris) using nmake. We're using cmake 2.6 and automoc, but running nmake results in: C:\WORK\HyvesDesktop\trunk\buildnmake Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft

Re: [CMake] Updated WinCE CMakefiles

2008-09-19 Thread Andreas Pokorny
Hi, I am still wondering how this all fits together. The patch you are working on, will generate a visual studio file that contains build rules for all installed SDKs. But when generating for nmake we will have a cross compile configuration for a single SDK. How can we ensure that both things

Re: [CMake] Updated WinCE CMakefiles

2008-09-19 Thread Clemens Arth
Andreas, well, considering the first issue I usually hoped that this might be solved by Visual Studio somehow automatically by some internal magic. After a cleanup of the WinCE.cmake and WinCE-cl.cmake a.s.o. these files should mainly contain settings which are universal to all SDKs (I wonder

[CMake] convert variable from hex to integer

2008-09-19 Thread Olaf Peter
Hi, for a generated version header I need to convert a given hex to an integer. I've wrote: set(RELEASE_LEVEL_ALPHA 0xA)# For internal use set(RELEASE_LEVEL_BETA 0xB)# For internal use set(RELEASE_LEVEL_GAMMA 0xC)# For release candidates set(RELEASE_LEVEL_FINAL 0xF)# For

Re: [CMake] CTest and multiple platform configurations

2008-09-19 Thread Clemens Arth
Hi, I've now walked through the source, and it seems that using the -C option with ctest does not do anything (useful). I've tried it with the CDashTest project available from here http://www.cdash.org/download/CDashTest.zip For example, if I try to issue any test call from the command line

Re: [CMake] nmake, automoc and cmake problem

2008-09-19 Thread Boudewijn Rempt
On Fri, 19 Sep 2008, Boudewijn Rempt wrote: Hi, We're having a little problem when trying to compile a Qt-based library (libiris) using nmake. We're using cmake 2.6 and automoc, but running nmake results in: C:\WORK\HyvesDesktop\trunk\buildnmake Microsoft (R) Program Maintenance

Re: [CMake] convert variable from hex to integer

2008-09-19 Thread Eric Noulard
2008/9/19 Olaf Peter [EMAIL PROTECTED]: Hi, for a generated version header I need to convert a given hex to an integer. I've wrote: set(RELEASE_LEVEL_ALPHA 0xA)# For internal use set(RELEASE_LEVEL_BETA 0xB)# For internal use set(RELEASE_LEVEL_GAMMA 0xC)# For release candidates

Re: [CMake] Generated source files and dependencies(+) (Esben Mose Hansen)

2008-09-19 Thread Esben Mose Hansen
On Tuesday 16 September 2008 21:48:16 ZNV wrote: That is what dependency tracking is for. And that should be handled automatically by the add_custom_target. My experience contradicts your statement. Yeah, my bad. add_custom_command adds dependencies, not add_custom_target. In fact, the

Re: [CMake] Google's protocol buffers cmake module

2008-09-19 Thread Eric Noulard
2008/9/19 Esben Mose Hansen [EMAIL PROTECTED]: On Friday 12 September 2008 14:08:01 Esben Mose Hansen wrote: Hi, I was unable to find a cmake module for google's protocol buffers, so I wrote my own. Is there some sort of repository for these things? The module probably does not handle

[CMake] Simple GLOB Expression

2008-09-19 Thread Mathieu Malaterre
Hi there, I would like to write in a portable way the following cmake script: FILE(GLOB myvar ${fullpath}/*.DCM ${fullpath}/*.dcm ) How do I check that the target system is case sensitive or not ? Thanks, -- Mathieu ___ CMake mailing list

[CMake] Q: How do I _portably_ create a directory in the binary directory

2008-09-19 Thread kent williams
I am CMake-izing a non-CMake project -- or rather we have CMake-ized it, and are doing some clean up. We have a testing shell script that I'm converting to CTest tests. The first thing it does is create a directory where it drops all the testing output. I'd like to do the same thing -- create a

Re: [CMake] Q: How do I _portably_ create a directory in the binary directory

2008-09-19 Thread kent williams
Never mind, I found it in the 'FILE' command... On Fri, Sep 19, 2008 at 10:26 AM, kent williams [EMAIL PROTECTED] wrote: I am CMake-izing a non-CMake project -- or rather we have CMake-ized it, and are doing some clean up. We have a testing shell script that I'm converting to CTest tests.

[CMake] possible bug report on release binary dynamic library search paths

2008-09-19 Thread Christopher Harvey
Sorry about the long subject, My question is about the way cmake defines dynamic link library search paths for release builds of executables. I've got an executable, written in C++ that depends on a shared library within the same project. When I run ldd on that executable I get this output

[CMake] CPack: howto change directory layout depending on the generator

2008-09-19 Thread Tanguy Krotoff
Hi everybody I would like to change the directory layout generated by CPack given the generator used. In a way, I would like a more fine-grained control about what CPack generates and after reading the different docs I don't know if it is possible. I have a pretty complex multiplatform program

Re: [CMake] Unable to load file in Modules directory

2008-09-19 Thread Mike Jackson
I really need to take a break. INCLUDE (BundleUtilties) NOT INCLUDE (BundleUtilities.cmake) Doh... On Sep 19, 2008, at 1:42 PM, Mike Jackson wrote: I am getting the following error when I am running the latest CMake CVS: include could not find load file: BundleUtilities.cmake I get

Re: [CMake] possible bug report on release binary dynamic library search paths

2008-09-19 Thread Christopher Harvey
Eric Noulard wrote: 2008/9/19 Christopher Harvey [EMAIL PROTECTED]: Sorry about the long subject, My question is about the way cmake defines dynamic link library search paths for release builds of executables. I've got an executable, written in C++ that depends on a shared library within

[CMake] [New Module] Protocol buffers

2008-09-19 Thread Esben Mose Hansen
Hi, I have created a module for Google's protocol buffers. It works for me, but will of course need adjustments for various non-unix platforms. And testing :) -- kind regards, Esben # Try to find protocol buffers (protobuf) # # Use as FIND_PACKAGE(ProtocolBuffers) # # PROTOBUF_FOUND -

Re: [CMake] FindFreetype wrong?

2008-09-19 Thread E. Wing
Interesting. I was expecting the PATH_SUFFIXES to work on Windows. I thought I had tested this general technique, though maybe not with the Freetype module and maybe not 2.6.0. I think this may be a CMake bug, but I'm not an authority on the matter. You might want to try a more generalized

Re: [CMake] CPack: howto change directory layout depending on the generator

2008-09-19 Thread Timenkov Yuri
On Fri, Sep 19, 2008 at 9:15 PM, Tanguy Krotoff [EMAIL PROTECTED] wrote: Hi everybody I would like to change the directory layout generated by CPack given the generator used. In a way, I would like a more fine-grained control about what CPack generates and after reading the different docs I

Re: [CMake] cmake variables to control full path in shared lib on OSX

2008-09-19 Thread Martin Costabel
Darren Weber wrote: [] Gnu libtool has a mechanism to deal with this situation (creating temporary wrapper scripts for each executable), but if cmake has one, I haven't found it. I have a testing build that seems to create paths within the build tree that are specific to the build, but once

Re: [CMake] FindFreetype wrong?

2008-09-19 Thread Hendrik Sattler
Am Friday 19 September 2008 22:57:03 schrieb E. Wing: Interesting. I was expecting the PATH_SUFFIXES to work on Windows. I thought I had tested this general technique, though maybe not with the Freetype module and maybe not 2.6.0. I think this may be a CMake bug, but I'm not an authority on