Re: [CMake] FW: cmake newbie questions

2008-07-24 Thread Bill Hoffman
Phil Smith wrote: C:\Program Files\GnuWin32\bin>make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built

Re: [CMake] XCode generator and cross-compilation

2008-07-24 Thread Emmanuel Blot
Until now only the makefile-based generators have been tested for cross compiling. XCode probably doesn't work. I have no idea how hard it would be to support cross compiling with XCode. Ok. I've tried to find some information about supporting cross compilation w/ Xcode, but it's far from

Re: [CMake] XCode generator and cross-compilation

2008-07-24 Thread Alexander Neundorf
On Friday 25 July 2008, Emmanuel Blot wrote: > Hi, > > Is it possible to use the Xcode generator to produce Xcode projects > for cross-compilation? > It seems that in such a case, CMake ignores the cross-compiler (gcc > 4.x), which in turn make Xcode use the native GCC compiler. Until now only the

[CMake] XCode generator and cross-compilation

2008-07-24 Thread Emmanuel Blot
Hi, Is it possible to use the Xcode generator to produce Xcode projects for cross-compilation? It seems that in such a case, CMake ignores the cross-compiler (gcc 4.x), which in turn make Xcode use the native GCC compiler. Thanks, Manu ___ CMake

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

2008-07-24 Thread Alexander Neundorf
On Thursday 24 July 2008, Robert Haines wrote: > On 18 Jul 2008, at 18:40, Bill Hoffman wrote: ... > > However, it is not that easy to implement, since the basic type in > > CMake is a string. There is no way to constrain the value of a > > variable, or even store more information about a variable

Re: [CMake] FW: cmake newbie questions

2008-07-24 Thread Phil Smith
C:\Program Files\GnuWin32\bin>make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-mingw32

Re: [CMake] Finding cyclic dependency that trigger re-execution

2008-07-24 Thread Filipe Sousa
Mathieu Malaterre wrote: Hi, I have an annoying cycling dependency that appear when I use cmake 2.4.8 on debian etch but not on cmake 2.4.5 on debian stable. I'd like to know what is the way to track it down ? Thanks Hi! I don't know if this is going to help you or not but there is the

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

2008-07-24 Thread Robert Haines
On 18 Jul 2008, at 18:40, Bill Hoffman 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=7313 Opinions? I was looking for this functionality

Re: [CMake] The right way to link a library from multiple directories

2008-07-24 Thread Christian Ehrlicher
Sebastian Krause schrieb: Andreas Pakulat <[EMAIL PROTECTED]> wrote: Thats not going to work on all platforms. There are various platforms which don't allow static libs to be linked into shared libs. But it should be possible to gather the sources in the subdirs into a variable that the parent

Re: [CMake] The right way to link a library from multiple directories

2008-07-24 Thread Bill Hoffman
Sebastian Krause wrote: Andreas Pakulat <[EMAIL PROTECTED]> wrote: Thats not going to work on all platforms. There are various platforms which don't allow static libs to be linked into shared libs. But it should be possible to gather the sources in the subdirs into a variable that the parent cm

Re: [CMake] The right way to link a library from multiple directories

2008-07-24 Thread Sebastian Krause
Andreas Pakulat <[EMAIL PROTECTED]> wrote: > Thats not going to work on all platforms. There are various platforms > which don't allow static libs to be linked into shared libs. > > But it should be possible to gather the sources in the subdirs into a > variable that the parent cmake-file knows and

Re: [CMake] The right way to link a library from multiple directories

2008-07-24 Thread Andreas Pakulat
On 24.07.08 17:42:40, Sebastian Krause wrote: > I have a library where the files are spread over several > directories, but in the end have to be linked all together into a > single library: > > , > | In src: > |a.cpp b.cpp c.cpp > | In src/foo: > |k.cpp l.cpp m.cpp > | in src/bar: > |

[CMake] The right way to link a library from multiple directories

2008-07-24 Thread Sebastian Krause
Hello, I have a library where the files are spread over several directories, but in the end have to be linked all together into a single library: , | In src: |a.cpp b.cpp c.cpp | In src/foo: |k.cpp l.cpp m.cpp | in src/bar: |x.cpp y.cpp z.cpp ` The easiest way to apporach thi

[CMake] Try_Compile

2008-07-24 Thread Micha Renner
Hello, for the first time I used TRY_COMPILE(STD_BOOL TryDir TestFile.c) in the CMakeLists-File This results in the error-message: "The source directory "TryDir/CMakeFiles/CMakeTmp" does not exist" The "book" says nothing about special locations for test-files and creating these files in the sou

Re: [CMake] CMAKE equivalent of qmake's MOC_DIR

2008-07-24 Thread Sebastien BARRE
At 7/24/2008 08:26 AM, Hendrik Sattler wrote: Zitat von David Boosalis <[EMAIL PROTECTED]>: The one complaint I have with building in another directory is when working with emacs. I like to do my make inside of emacs, that way when there is a compile error message I can click on it from emacs

Re: [CMake] CMAKE equivalent of qmake's MOC_DIR

2008-07-24 Thread Hendrik Sattler
Zitat von David Boosalis <[EMAIL PROTECTED]>: The one complaint I have with building in another directory is when working with emacs.  I like to do my make inside of emacs, that way when there is a compile error message I can click on it from emacs and it takes me right to the offendin

Re: [CMake] Installing OSX Frameworks

2008-07-24 Thread Mike Arthur
On Wednesday 23 July 2008 21:45:34 Shead, Timothy wrote: > On 7/23/08 1:45 PM, "Bill Hoffman" <[EMAIL PROTECTED]> wrote: > While I'm at it, is there a good way to install an external shared library > that handles its' symlinks? I've been doing the following, which is > less-than-satisfying: I've g

Re: [CMake] CMAKE equivalent of qmake's MOC_DIR

2008-07-24 Thread Andreas Pakulat
On 23.07.08 20:44:15, David Boosalis wrote: > > The one complaint I have with building in another directory is when working > with emacs.  I like to do my make inside of emacs, that way when there is a > compile error message I can click on it from emacs and it takes me right to > the offending