Re: [CMake] Feature wish - constrained string values for configuration options

2008-07-18 Thread Philip Lowman
On Fri, Jul 18, 2008 at 1:40 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Alexander Neundorf wrote: > >> On Friday 18 July 2008, Michael Wild wrote: >> >>> On 18Jul, 2008, at 12:27, Robert Haines wrote: >>> I would like to point at my feature wish: > http://www.vtk.org/Bug/view.php?id=73

Re: [CMake] [New Module] FindCxxTest & FindMagick

2008-07-18 Thread Philip Lowman
On Sat, Jul 19, 2008 at 1:18 AM, Miguel A. Figueroa-Villanueva < [EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 11:06 PM, Philip Lowman wrote: > > I'd like to seek approval to have the following CMake find modules added > to > > CMake. Both are to work with popular pieces of software and I h

Re: [CMake] [New Module] FindCxxTest & FindMagick

2008-07-18 Thread Miguel A. Figueroa-Villanueva
On Fri, Jul 18, 2008 at 11:06 PM, Philip Lowman wrote: > I'd like to seek approval to have the following CMake find modules added to > CMake. Both are to work with popular pieces of software and I happily > volunteer myself to maintain the modules. > > Magick (ImageMagick libraries) > http://publi

[CMake] [New Module] FindCxxTest & FindMagick

2008-07-18 Thread Philip Lowman
I'd like to seek approval to have the following CMake find modules added to CMake. Both are to work with popular pieces of software and I happily volunteer myself to maintain the modules. Magick (ImageMagick libraries) http://public.kitware.com/Bug/view.php?id=6400 CxxTest http://public.kitware.

Re: [CMake] [osg-users] integrating an external project to OSG via CMake

2008-07-18 Thread Philip Lowman
On Fri, Jul 18, 2008 at 5:35 PM, Mike Weiblen <[EMAIL PROTECTED]> wrote: > Intending to finally get osgToy and osgVRPN building again with modern > OSG via CMake. > > I've looked at several other independent nodekits/apps for guidance > (osggis, mpv, osgppu, vpb, etc) and they all have separate >

[CMake] Global linker/library flag specification

2008-07-18 Thread Nicholas Yue
Hi, There is a ADD_DEFINITIONS tag to add compiler flags globally. Is there an equivalent for linker flags (i.e. not target specific but all target) I have the following scenario. I am trying to write a custom configuration file so that all target build in "Debug" build type will automa

Re: [CMake] anybody crosscompiling and using pkg_config ?

2008-07-18 Thread Alan W. Irwin
On 2008-07-19 00:04+0200 Alexander Neundorf wrote: Hi, when crosscompiling, pkg_config shouldn't find packages for the host system, but for the target system. Attached is a patch against current cmake cvs which tries to do that by setting the env var PKG_CONFIG_LIBDIR to /usr/lib/pkgconfig and

Re: [CMake] kernel32 functions

2008-07-18 Thread Mathieu Malaterre
checkfunctionexist only check for cdecl's functions. So if -like me- you are trying to check for a stdcall one... you are stuck: http://www.cmake.org/pipermail/cmake/2008-May/021470.html Check the header file for the exact declaration. HTH -Mathieu On Fri, Jul 18, 2008 at 6:25 PM, Ben van Klink

[CMake] anybody crosscompiling and using pkg_config ?

2008-07-18 Thread Alexander Neundorf
Hi, when crosscompiling, pkg_config shouldn't find packages for the host system, but for the target system. Attached is a patch against current cmake cvs which tries to do that by setting the env var PKG_CONFIG_LIBDIR to /usr/lib/pkgconfig and /usr/local/lib/pkgconfig inside the directories of

Re: [CMake] cmake 2.6.1 RC 11

2008-07-18 Thread Bill Hoffman
Alexander Neundorf wrote: Hi Bill, On Friday 18 July 2008, Bill Hoffman wrote: Changes in CMake 2.6.1 RC 6 - Fix DEFINITIONS property to be compatible with 2.4 Was this something with COMPILE_DEFINITIONS vs. DEFINITIONS ? What was the exact problem ? We're about to require 2.6.0 for KDE4 sv

Re: [CMake] cmake 2.6.1 RC 11

2008-07-18 Thread Shead, Timothy
On 7/18/08 1:32 PM, "Bill Hoffman" <[EMAIL PROTECTED]> wrote: > I have a release candidate (RC 11) for 2.6.1 ready for CMake. > If I do not get any complaints about this RC, it will become 2.6.1. Not a complaint, but there are some improvements to the cpack bundle generator that would be nice-to-

Re: [CMake] cmake 2.6.1 RC 11

2008-07-18 Thread Alexander Neundorf
Hi Bill, On Friday 18 July 2008, Bill Hoffman wrote: > Changes in CMake 2.6.1 RC 6 > - Fix DEFINITIONS property to be compatible with 2.4 Was this something with COMPILE_DEFINITIONS vs. DEFINITIONS ? What was the exact problem ? We're about to require 2.6.0 for KDE4 svn trunk, but this looks al

Re: [CMake] generic Symbian gcce-toolchain file

2008-07-18 Thread Alexander Neundorf
Hi Frans, On Thursday 17 July 2008, [EMAIL PROTECTED] wrote: > Hi, > > I'm trying to use CMake to build Symbian 9.2-FP1 (S60) executables in a > generic way (i.e. not building mmp-files which have to be interpreted by > perl-scripts provided with the SDKs). There have been similar questions > aske

[CMake] cmake 2.6.1 RC 11

2008-07-18 Thread Bill Hoffman
I have a release candidate (RC 11) for 2.6.1 ready for CMake. If I do not get any complaints about this RC, it will become 2.6.1. Thanks. The files can be found here: http://www.cmake.org/files/v2.6/*RC-11* The changes from 2.6.0 are as follows: Changes in CMake 2.6.1 RC 11 - Fix curl build

Re: [CMake] CTest + unit test frameworks integration

2008-07-18 Thread Alexander Neundorf
On Friday 18 July 2008, Yuri Timenkov wrote: > Does anyone have an experience in integrating Unit test frameworks with > CTest? AFAIK many of such frameworks provide means to register tests and > test cases, and it would be nice to make ctest aware of such things, > because it's not good to make ch

Re: [CMake] Feature wish - constrained string values for configuration options

2008-07-18 Thread Bill Hoffman
Alexander Neundorf wrote: On Friday 18 July 2008, Michael Wild wrote: On 18Jul, 2008, at 12:27, Robert Haines wrote: I would like to point at my feature wish: http://www.vtk.org/Bug/view.php?id=7313 Opinions? I was looking for this functionality the other day, I think it's a good idea. I had

Re: [CMake] Feature wish - constrained string values for configuration options

2008-07-18 Thread Alexander Neundorf
On Friday 18 July 2008, Michael Wild wrote: > On 18Jul, 2008, at 12:27, Robert Haines wrote: > >> I would like to point at my feature wish: > >> http://www.vtk.org/Bug/view.php?id=7313 > >> > >> Opinions? > > > > I was looking for this functionality the other day, I think it's a > > good idea. I ha

[CMake] kernel32 functions

2008-07-18 Thread Ben van Klinken
First time poster, long time user. Great work cmake team! I'm trying to get cmake to detect several kernel32 functions but I can't get cmake to find the actual functions. I've tried taking CheckFunctionExists.c and compiling it in a seperate projects and everything works as expected. The linker li

[CMake] kernel32 functions

2008-07-18 Thread Ben van Klinken
First time poster, long time user. Great work cmake team! I'm trying to get cmake to detect several kernel32 functions but I can't get cmake to find the actual functions. I've tried taking CheckFunctionExists.c and compiling it in a seperate projects and everything works as expected. The linker li

[CMake] CTest + unit test frameworks integration

2008-07-18 Thread Yuri Timenkov
Does anyone have an experience in integrating Unit test frameworks with CTest? AFAIK many of such frameworks provide means to register tests and test cases, and it would be nice to make ctest aware of such things, because it's not good to make changes in multiple places when I add new test. I

Re: [CMake] A small philosophical problem

2008-07-18 Thread Carminati Federico
Philip, Bill, ok, this is what I did. Adding libarry was already wrapped for me, so it was a two-line change. Thanks, Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 79480 Mobile: +41 76 487 4843 On 18 Jul 2008, at 15:49, Philip Lowman wrote: On Fr

Re: [CMake] A small philosophical problem

2008-07-18 Thread Philip Lowman
On Fri, Jul 18, 2008 at 9:37 AM, Carminati Federico <[EMAIL PROTECTED]> wrote: > Hello, >I want to be able to build optionally static libs for my project. I have > no problem to add custom targets and dependencies, this all works nicely. > However I want to be able to install them if needed. S

Re: [CMake] A small philosophical problem

2008-07-18 Thread Bill Hoffman
Carminati Federico wrote: Hello, I want to be able to build optionally static libs for my project. I have no problem to add custom targets and dependencies, this all works nicely. However I want to be able to install them if needed. So I define an installation rule and I label it as option

[CMake] A small philosophical problem

2008-07-18 Thread Carminati Federico
Hello, I want to be able to build optionally static libs for my project. I have no problem to add custom targets and dependencies, this all works nicely. However I want to be able to install them if needed. So I define an installation rule and I label it as optional, as these files may

Re: [CMake] FindThreads and Fortran

2008-07-18 Thread Alin M Elena
Hi Alex,   > How much trouble is it for you     > to require a C compiler on the machines where your app will be built ?     There is no problem. I have just made the point so others do not get scarred     if they get this.     Alin --

Re: [CMake] Staticly Link to VC++ Runtime

2008-07-18 Thread Mike Jackson
On Jul 18, 2008, at 5:43 AM, Yuri Timenkov wrote: On Friday 18 July 2008 13:33:59 Mike Arthur wrote: I'm trying to distribute my application to Windows users and am getting some fairly horrendous grief with manifests. Can anyone advise how I'd get CMake to statictly link against the msvc

Re: [CMake] detection of min version in findBoost

2008-07-18 Thread nilitonilito nilitonilito
> > Are you using CMake 2.4 or CMake 2.6? The former doesn't support that > variable and the latter doesn't either as CMake allows to specify the > version in the find_package() call. See the top of FindBoost.cmake for > some documentation. I'm indeed using CMake 2.4, thanks for that precision.

Re: [CMake] Feature wish - constrained string values for configuration options

2008-07-18 Thread Michael Wild
On 18Jul, 2008, at 12:27, Robert Haines wrote: I would like to point at my feature wish: http://www.vtk.org/Bug/view.php?id=7313 Opinions? I was looking for this functionality the other day, I think it's a good idea. I had thought that it was already in there for the CMAKE_BUILD_TYPE opt

[CMake] CPack relative path to package

2008-07-18 Thread Jens Storz
Hello, I'm using CMake for packaging. The same source is used to compile for different platforms. To compile and and package for these platforms I create a build directory and run CMake from there. The zip archives are put into the folders as shown below. What I now want is to merge these zip fi

Re: [CMake] Feature wish - constrained string values for configuration options

2008-07-18 Thread Robert Haines
I would like to point at my feature wish: http://www.vtk.org/Bug/view.php?id=7313 Opinions? I was looking for this functionality the other day, I think it's a good idea. I had thought that it was already in there for the CMAKE_BUILD_TYPE option that you always get but that seems to be imp

Re: [CMake] Staticly Link to VC++ Runtime

2008-07-18 Thread Yuri Timenkov
On Friday 18 July 2008 13:33:59 Mike Arthur wrote: > I'm trying to distribute my application to Windows users and am getting > some fairly horrendous grief with manifests. > > Can anyone advise how I'd get CMake to statictly link against the msvc*.dll > files that my application needs when compiled

Re: [CMake] paraview / cmake / qt

2008-07-18 Thread John Biddiscombe
OK, as usual, wiping everything and starting from scratch has cleared it up. sorry for the noise. JB redirected from vtk developers list [was 32 bit ids on 64 bit machine] Brad Sadly, it looks like I can't use cmake 2.6 - I seem to recall this was why I didn't upgrade before. no matter wh

Re: [CMake] detection of min version in findBoost

2008-07-18 Thread Andreas Pakulat
On 18.07.08 09:43:29, nilitonilito nilitonilito wrote: > I'm trying to detect libboost in my CMake root script, it works except for > min version, I can put any kind of min version it always pass the test, I > don't understand what I'm doing wrong? > > here is a snippet of my script : > > SET(B

[CMake] Staticly Link to VC++ Runtime

2008-07-18 Thread Mike Arthur
I'm trying to distribute my application to Windows users and am getting some fairly horrendous grief with manifests. Can anyone advise how I'd get CMake to statictly link against the msvc*.dll files that my application needs when compiled with MSVC++? Thanks! -- Cheers, Mike Arthur __

[CMake] paraview / cmake / qt

2008-07-18 Thread John Biddiscombe
redirected from vtk developers list [was 32 bit ids on 64 bit machine] Brad Sadly, it looks like I can't use cmake 2.6 - I seem to recall this was why I didn't upgrade before. no matter what I do, cmake keeps resetting my qmake variable to not found qmake is on the path > which qmake /apps/

[CMake] Feature wish - constrained string values for configuration options

2008-07-18 Thread Andreas Pokorny
Hi there, I would like to point at my feature wish: http://www.vtk.org/Bug/view.php?id=7313 Opinions? kind regards, Andreas Pokorny ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] detection of min version in findBoost

2008-07-18 Thread Martin Apel
Hi all, if I remember right, FindBoost currently ignores the minimum version given. I had a similar problem myself and fell into the same trap. Regards, Martin nilitonilito nilitonilito wrote: Hi there, I'm trying to detect libboost in my CMake root script, it works except for min version

[CMake] detection of min version in findBoost

2008-07-18 Thread nilitonilito nilitonilito
Hi there, I'm trying to detect libboost in my CMake root script, it works except for min version, I can put any kind of min version it always pass the test, I don't understand what I'm doing wrong? here is a snippet of my script : SET(BOOST_MIN_VERSION "2.33.2") FIND_PACKAGE(Boost REQUIR