[CMake] Runtime directory / staging question

2008-05-25 Thread Andreas Fredriksson
Hi list, first post here. I'm converting a software project to use CMake and while doing so I realized it the old visual studio projects wrote their output with a suffix to a common directory, so executables for different configurations would live side by side (foo_d.exe, foo_r.exe). I know how t

[CMake] FIND_PROGRAM Version

2008-05-25 Thread hsanson
I use FIND_PROGRAM to find a grammar parser (ragel) to generate some source files needed for my project. The problem is that the way ragel is called (arguments) is different for each mayor version. I need to get the program mayor version 5.x or 6.x and then set the ADD_COMMAND arguments accordi

Re: [CMake] Finder repository

2008-05-25 Thread Pau Garcia i Quiles
Quoting Alexander Neundorf <[EMAIL PROTECTED]>: On Sunday 25 May 2008, Andreas Schneider wrote: Pau Garcia i Quiles wrote: > There is the unofficial http://code.google.com/p/cmake-modules/ Where I'm the only developer and as nobody is interested in helping I update it rarly. So if someone is i

Re: [CMake] Finder repository

2008-05-25 Thread Alexander Neundorf
On Sunday 25 May 2008, Andreas Schneider wrote: > Pau Garcia i Quiles wrote: > > There is the unofficial http://code.google.com/p/cmake-modules/ > > Where I'm the only developer and as nobody is interested in helping I > update it rarly. So if someone is interested in helping let me know. > > I wou

Re: [CMake] weirdness with CMAKE_CACHEFILE_DIR

2008-05-25 Thread Alexander Neundorf
On Wednesday 21 May 2008, Eric Torstenson wrote: > Hi All, > > I am performing out of source builds, and trying to use the CWD to place > my binaries. I am using CMAKE_CACHEFILE_DIR to get that directory, which I didn't know this variable exists. Does it actually ? It sounds like it would be the s

[CMake] MACOSX_BUNDLE targets fail as custom target dependencies

2008-05-25 Thread Allan Odgaard
I have the following CMakeLists.txt file: project(foo) add_executable(foo MACOSX_BUNDLE main.cc) add_custom_target(run_foo echo running foo DEPENDS foo) This is what I get (Mac OS X Leopard, CMake 2.6.0 and 2.7 from CVS): % make run_foo Scanning dependencies of target foo

Re: [CMake] Finder repository

2008-05-25 Thread Eduardo Alberto Hernández Muñoz
Hi list, >> There is the unofficial http://code.google.com/p/cmake-modules/ >> > >Where I'm the only developer and as nobody is interested in helping I update >it rarly. So if someone is interested in helping let me know. I think the best bet is to ask projects who use CMake and create their own

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-25 Thread Bill Hoffman
Miguel A. Figueroa-Villanueva wrote: On Sat, May 24, 2008 at 10:52 AM, Bill Hoffman wrote: Bill Hoffman wrote: Mathieu Malaterre wrote: Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES secti

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-25 Thread Miguel A. Figueroa-Villanueva
On Sat, May 24, 2008 at 10:52 AM, Bill Hoffman wrote: > Bill Hoffman wrote: >> Mathieu Malaterre wrote: >>> >>> Hum... I tried again today and I cannot reproduce it. So to properly >>> find wxWidgets on my machine I need to get rid of all entries in the >>> PATH_SUFFIXES section. >>> >>> I would l

Re: [CMake] Finder repository

2008-05-25 Thread Andreas Schneider
Pau Garcia i Quiles wrote: There is the unofficial http://code.google.com/p/cmake-modules/ Where I'm the only developer and as nobody is interested in helping I update it rarly. So if someone is interested in helping let me know. I would setup a new git repository on. Official finders hav