Re: [CMake] Visual Studio and Windows Mobile SDKs

2008-07-08 Thread Alexander Neundorf
On Monday 07 July 2008, you wrote: > Hi, > > I'll submit a patch as soon as I've managed to work around some remaining > issues. After messing around with some registry stuff, here's where I'm > currently standing. I had a hard time to find whether VS stores the > information on all the different

Re: [CMake] Check if a target has been added

2008-07-08 Thread Alexander Neundorf
On Tuesday 08 July 2008, Félix C. Morency wrote: > Hi, > > I posted a message yesterday and found out that the method wasn't quite > effective. If there any way of checking if a target has already been added > to the build chain (resetting it at each configure) ? I have lots of > projects depending

Re: [CMake] Problem with Static Pattern Rules

2008-07-08 Thread Alexander Neundorf
On Tuesday 08 July 2008, Carminati Federico wrote: > Hello, >it is possible to add a custom command to cmake with a static > pattern rule? My problem is the following, I have a coding convention > checker that for each c++ source file creates a "violation" file. The > rule I had in my makefile

Re: [CMake] Newbie creating shared objects on Mac

2008-07-08 Thread Gerrick Bivins
Ok. If I understand you guys correctly, I should be good to go because .so and .dylib now are the same in the mac OSX current architectures? On 7/8/08 12:43 PM, "Bill Hoffman" <[EMAIL PROTECTED]> wrote: > Kai Sterker wrote: >> On Mon, Jul 7, 2008 at 9:39 PM, Gerrick Bivins >> <[EMAIL PROTECTED]>

Re: [CMake] Newbie creating shared objects on Mac

2008-07-08 Thread Bill Hoffman
Kai Sterker wrote: On Mon, Jul 7, 2008 at 9:39 PM, Gerrick Bivins <[EMAIL PROTECTED]> wrote: I realized I left out the fact that I'm using the swig module. Sorry about that. Does the SWIG_ADD_MODULE have a SWIG_ADD_LIBRARY equivalent? It's the same for me, but it hasn't caused me any troubles

Re: [CMake] Newbie creating shared objects on Mac

2008-07-08 Thread Kai Sterker
On Mon, Jul 7, 2008 at 9:39 PM, Gerrick Bivins <[EMAIL PROTECTED]> wrote: > I realized I left out the fact that I'm using the swig module. > Sorry about that. > Does the SWIG_ADD_MODULE have a SWIG_ADD_LIBRARY equivalent? It's the same for me, but it hasn't caused me any troubles so far. [snip]

Re: [CMake] a suggestion. [CMake 0007303]: CMake latest: Boost_LIBRARIES is not set

2008-07-08 Thread Alexander Bubnov
I agree. But about 2008/7/8, Andreas Pakulat <[EMAIL PROTECTED]>: > On 08.07.08 18:29:27, Alexander Bubnov wrote: > > Hello! > > I do not want make an unnecessary bug report so I decided to write this > email. > > > > I made an issue http://public.kitware.com/Bug/view.php?id=7303. > > And I

Re: [CMake] a suggestion. [CMake 0007303]: CMake latest: Boost_LIBRARIES is not set

2008-07-08 Thread Andreas Pakulat
On 08.07.08 18:29:27, Alexander Bubnov wrote: > Hello! > I do not want make an unnecessary bug report so I decided to write this email. > > I made an issue http://public.kitware.com/Bug/view.php?id=7303. > And I suppose an other issue should be originated to documentation. > Because it is not clea

[CMake] Check if a target has been added

2008-07-08 Thread Félix C. Morency
Hi, I posted a message yesterday and found out that the method wasn't quite effective. If there any way of checking if a target has already been added to the build chain (resetting it at each configure) ? I have lots of projects depending on the same target and this produces makefile warnings and

[CMake] a suggestion. [CMake 0007303]: CMake latest: Boost_LIBRARIES is not set

2008-07-08 Thread Alexander Bubnov
Hello! I do not want make an unnecessary bug report so I decided to write this email. I made an issue http://public.kitware.com/Bug/view.php?id=7303. And I suppose an other issue should be originated to documentation. Because it is not clear that Boost_LIBRARIES is used in case of COMPONENTS. Wha

Re: [CMake] DLL runtime error R6034

2008-07-08 Thread Bill Hoffman
Mehdi Rabah wrote: Ok thanks, maybe I should use VS 2005 (I use the express version and 2003 is not available anymore). I have all the right manifest files in the output folder (they are generated by cmake, I didn't have to do anything), but I still have this problem. Any other ideas? Ho

[CMake] CMake support for Python

2008-07-08 Thread Nicholas Yue
Hi, I'd like to build and run Python unit test using CMake. In the keyword Project, there is support for a language tag after the project name. Is there any example of using CMake to run Python unit tests? Regards ___ CMake mailing list CMake@cm

[CMake] CMake not searching Fortran source suffixes

2008-07-08 Thread Robert Haines
Hi all, I wonder if anyone can help with this that I've got stuck on. I'm building a mixed C and Fortran project that builds libraries and then some example applications. When building the example apps, to make everything more generic and reusable I do this (like in VTK with its Rendering,

Re: [CMake] DLL runtime error R6034

2008-07-08 Thread Mehdi Rabah
On Tue, Jul 8, 2008 at 1:39 PM, Yuri Timenkov <[EMAIL PROTECTED]> wrote: > > > On Tuesday 08 July 2008 15:29:51 Mehdi Rabah wrote: > > Hi Yuri, > > > > CMake generate both .embed.manifest and .intermediate.manifest (but no > > .CRT.manifest). Also, I have added VS 2008 redistribuable DLLs path in

[CMake] CTest with Python unittest

2008-07-08 Thread Nicholas Yue
Hi, I have had a look at the FAQ for CTest but did not find any specific answer hence I am posting here. I have a couple of Python projects which has unittest as part of their code base. I'd like to submit their unit test run output on to a CDash server, is there any information available

Re: [CMake] DLL runtime error R6034

2008-07-08 Thread Yuri Timenkov
On Tuesday 08 July 2008 13:38:25 Mehdi Rabah wrote: > Hi, > > Does anyone had this error > http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx while using a > DLL built this cmake? > > My application (also built with cmake) works fine on Release mode, I get > this error only in Debug con

[CMake] DLL runtime error R6034

2008-07-08 Thread Mehdi Rabah
Hi, Does anyone had this error http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx while using a DLL built this cmake? My application (also built with cmake) works fine on Release mode, I get this error only in Debug configuration. In the old project (visual studio files only) the applic

Re: [CMake] ADD_TEST comparing the command input with a file content

2008-07-08 Thread William Candillon
Hello guys, Thank you very much for the tip! This is exactly what I needed. Best regards, William On Fri, Jul 4, 2008 at 9:56 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > On 2008-07-04 12:08+0200 William Candillon wrote: > >> Hi, >> >> I'm using the ADD_TEST command to test the output of my e

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-08 Thread Werner Smekal
Hi Miguel, Well, Bob is setting wxWidgets_LIB_DIR in the GUI and this should then work for him (it's the same that you are doing with the -D param). And from the listing Bob sent me it seems that after we find wxWidgets_LIB_DIR correctly the rest is good to go. Have you tried it with static lib

[CMake] Problem with Static Pattern Rules

2008-07-08 Thread Carminati Federico
Hello, it is possible to add a custom command to cmake with a static pattern rule? My problem is the following, I have a coding convention checker that for each c++ source file creates a "violation" file. The rule I had in my makefile was $(SRCS:.cxx=.viol) : %.viol : %.cxx bla bla

Re: [CMake] Patch: Add NO_CACHE option to find_xxx commands

2008-07-08 Thread Yuri Timenkov
On Monday 07 July 2008 22:04:53 Enrico Scholz wrote: > "Miguel A. Figueroa-Villanueva" <[EMAIL PROTECTED]> > > writes: > >>> I would like to propose the addition of a NO_CACHE keyword to the > >>> find_xxx commands that would treat as a non-cached variable. > >> > >> Better wolution would be the