Re: [CMake] General questions

2008-02-25 Thread Alexander Neundorf
On Saturday 23 February 2008, Yang Zhang wrote: > Hi, I just finished reading the example in the documentation on the ... > - Can cmake auto-infer libraries based on #includes + a DB of > header-to-library mappings? No, and I would consider this too much magic. It should be obvious from the build

Re: [CMake] General questions

2008-02-25 Thread Alexander Neundorf
On Sunday 24 February 2008, Yang Zhang wrote: ... >$ CPATH=inc make >[100%] Built target a > >$ touch inc/a.h > >$ CPATH=inc make >[100%] Built target a > > It appears that cmake doesn't know where the header files are actually > located, and hence is unable to add a proper depe

Re: [CMake] General questions

2008-02-25 Thread Alexander Neundorf
On Sunday 24 February 2008, Yang Zhang wrote: > Hendrik Sattler wrote: > > Am Sonntag 24 Februar 2008 schrieb Yang Zhang: > >> I understand your point, but support for cmake is not as ubiquitous as > >> it is for autotools. For instance, a cross-platform build system I'm > >> using (a bitbake/opene

Re: [CMake] General questions

2008-02-24 Thread Yang Zhang
Hendrik Sattler wrote: Am Sonntag 24 Februar 2008 schrieb Yang Zhang: I understand your point, but support for cmake is not as ubiquitous as it is for autotools. For instance, a cross-platform build system I'm using (a bitbake/openembedded derivative) does not support cmake. As another example,

Re: [CMake] General questions

2008-02-24 Thread Hendrik Sattler
Am Sonntag 24 Februar 2008 schrieb Yang Zhang: > I understand your point, but support for cmake is not as ubiquitous as > it is for autotools. For instance, a cross-platform build system I'm > using (a bitbake/openembedded derivative) does not support cmake. As > another example, a tool I use for b

Re: [CMake] General questions

2008-02-24 Thread Yang Zhang
Andreas Pakulat wrote: On 24.02.08 16:27:47, Yang Zhang wrote: - Can cmake auto-infer libraries based on #includes + a DB of header-to-library mappings? Not sure. I'll let the cmake developers answer that one. - Can cmake generate autotools inputs (for POSIX-portable preferably-GNU-compliant p

Re: [CMake] General questions

2008-02-24 Thread Yang Zhang
Yang Zhang wrote: Hi, thanks for your reply. Mike Jackson wrote: > > -- Mike Jackson Senior Research Engineer > Innovative Management & Technology Services > > > On Feb 23, 2008, at 4:34 AM, Yang Zhang wrote: >> - Can cmake auto-generate and cache transitive dependencies via >> #includ

Re: [CMake] General questions

2008-02-24 Thread Andreas Pakulat
On 24.02.08 16:27:47, Yang Zhang wrote: > >> - Can cmake auto-infer libraries based on #includes + a DB of > >> header-to-library mappings? > > > > Not sure. I'll let the cmake developers answer that one. > >> > >> - Can cmake generate autotools inputs (for POSIX-portable > >> preferably-GNU-compli

Re: [CMake] General questions

2008-02-24 Thread Yang Zhang
Hi, thanks for your reply. Mike Jackson wrote: > > -- Mike Jackson Senior Research Engineer > Innovative Management & Technology Services > > > On Feb 23, 2008, at 4:34 AM, Yang Zhang wrote: > >> Hi, I just finished reading the example in the documentation on the >> website, and am left with a

Re: [CMake] General questions

2008-02-23 Thread Mike Jackson
-- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Feb 23, 2008, at 4:34 AM, Yang Zhang wrote: Hi, I just finished reading the example in the documentation on the website, and am left with a few beginner questions off the top of my head: - How do

[CMake] General questions

2008-02-23 Thread Yang Zhang
Hi, I just finished reading the example in the documentation on the website, and am left with a few beginner questions off the top of my head: - How do I generate multiple versions of my program (debug, profiled, optimized, etc.)? - Can cmake auto-generate and cache transitive dependencies vi

[CMake] CMake general questions

2007-09-24 Thread Neal Meyer
I'm new to cmake and I'm trying to convert some existing vcproj files to cmake files and I have a couple of questions I was hoping someone could answer I want to change the Intermediate direcotry in the project to something like $(SolutionDir)\obj\$(ProjectName)\$(ConfigurationName) cmake seems