Re: [CMake] faking convenience libraries

2007-02-12 Thread Brandon J. Van Every
Bill Hoffman wrote: CMake does not directly support [static libraries as part of a static library]. However, you can put a full path to a .o file as a source for a library and cmake will do the right thing for with it. The catch is I have never done this, and it will be difficult to figure

Re: [CMake] faking convenience libraries

2007-02-12 Thread Bill Hoffman
Brandon J. Van Every wrote: Well I figured out the paths to the .OBJ files. Note they're coming out as .OBJ files on Windows, both for MinGW and for MSVC. When I dump my .OBJ file absolute pathnames into ADD_LIBRARY, CMakeSetup complains that the source file doesn't exist, because of

Re: [CMake] Writing a Code Warrior Generator

2007-02-12 Thread Bill Hoffman
Nicolas Debeljak wrote: Hi, I'd like to make a project generator for Code Warrior and more precisely for the xml export format. I've already read the source code of the Visual Studio 7 Generator in order to do something similar but it seems to be very complex (I don't have enough time to

Re: [CMake] configurations and (debug, release and others)

2007-02-12 Thread Eric Noulard
2007/2/12, Mehdi Rabah [EMAIL PROTECTED]: Hello, I'm still new to cmake and I was wondering if cmake tweaks the compiler optimization when switching from Debug to Release configurations ? If it's true, what is the behaviour when I set the variable into a custom configuration (other than Debug

RE: [CMake] Writing a Code Warrior Generator

2007-02-12 Thread Ken Martin
We did try this once and as Bill said the challenge in the end was that IIRC Code Warrior did not have an easy way to launch compiles from the command line (as used by try_compile etc). I think folks were talking about using some Apple Script to drive it or something like that to work around this

Re: [CMake] Writing a Code Warrior Generator

2007-02-12 Thread Sean McBride
On 2007-02-12 15:08, Ken Martin said: We did try this once and as Bill said the challenge in the end was that IIRC Code Warrior did not have an easy way to launch compiles from the command line (as used by try_compile etc). I think folks were talking about using some Apple Script to drive it or

[CMake] can't link against multiply dependent static libraries with CHECK_LIBRARY_EXISTS

2007-02-12 Thread Philip Lowman
Hi, I'm using CMake 2.4.6. I'm trying to use CHECK_LIBRARY_EXISTS to verify a function exists in a static library that requires additional static libraries to be linked against in order for main() to link. libctdb depends in part on libgcs, libgtrs, and libvecmat (which need to be linked