[CMake] Prompting Users in Build...

2008-02-24 Thread Benjamen R. Meyer
So I started looking at how to implement the below functions using CMake's scripting abilities. However, I was having trouble figuring out how to prompt the user for the username/password during the build process. I tried using a TRY_RUN() to build a program to do so, but that doesn't seem to do it

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] Enable warnings

2008-02-24 Thread blinkeye
>> On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote: Hi, I'm quite new with cmake and I can't figure out how to enable warnings for the generated makefiles/projects. For instance, I would like to use the -Wall flag with gcc. like that for example: set( CMAKE_C_FLAGS "-fstack-protecto

Re: [CMake] Enable warnings

2008-02-24 Thread E. Wing
In ccmake or CMakeSetup, add the flag to either CMAKE_C_FLAGS or CMAKE_CXX_FLAGS. -Eric On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> wrote: > Hi, I'm quite new with cmake and I can't figure out how to enable > warnings for the generated makefiles/projects. For instance, I would > like to us

[CMake] Enable warnings

2008-02-24 Thread David Sveningsson
Hi, I'm quite new with cmake and I can't figure out how to enable warnings for the generated makefiles/projects. For instance, I would like to use the -Wall flag with gcc. -- //*David Sveningsson [eXt]* Freelance coder | Game Development Student http://sidvind.com Thou shalt make thy progra

Re: [CMake] CMake and Lua

2008-02-24 Thread E. Wing
On 2/24/08, Brandon Van Every <[EMAIL PROTECTED]> wrote: > On Sun, Feb 24, 2008 at 12:56 PM, E. Wing <[EMAIL PROTECTED]> wrote: > > On 2/24/08, Brandon Van Every <[EMAIL PROTECTED]> wrote: > > > > > > So are you going to write this framework for us, that makes all the > > > work of supporting multi

Re: [CMake] CMake and Lua

2008-02-24 Thread Brandon Van Every
On Sun, Feb 24, 2008 at 12:56 PM, E. Wing <[EMAIL PROTECTED]> wrote: > On 2/24/08, Brandon Van Every <[EMAIL PROTECTED]> wrote: > > > > So are you going to write this framework for us, that makes all the > > work of supporting multiple languages magically go away? > > If you bothered actually r

Re: [CMake] CMake and Lua

2008-02-24 Thread Brandon Van Every
On Sun, Feb 24, 2008 at 12:36 PM, E. Wing <[EMAIL PROTECTED]> wrote: > > Again, you missed the point entirely. This isn't about Obj-C vs Lua or > any other languge. The point was that by providing a language bridge, > the whole language wars argument gets thrown out the window. So are you going

Re: [CMake] CMake and Lua

2008-02-24 Thread E. Wing
On 2/24/08, Brandon Van Every <[EMAIL PROTECTED]> wrote: > On Sun, Feb 24, 2008 at 8:03 AM, E. Wing <[EMAIL PROTECTED]> wrote: > > Apple introduced > > a second completely independent framework called Carbon, but they told > > people they should use Cocoa to get first-class looking applications. >

Re: [CMake] CMake and Lua

2008-02-24 Thread Brandon Van Every
On Sun, Feb 24, 2008 at 8:03 AM, E. Wing <[EMAIL PROTECTED]> wrote: > Apple introduced > a second completely independent framework called Carbon, but they told > people they should use Cocoa to get first-class looking applications. Kitware + the CMake community do not have the resources of Appl

Re: [CMake] CMake and Lua

2008-02-24 Thread E. Wing
> I am not seeing the merit of trying to support multiple scripting > languages. This fragments CMake into many sub-language communities. > Who would handle all the inevitable bugs? It's many times the work of > maintaining a quality implementation with 1 scripting language. I don't think this is

[CMake] CMake talk at FOSDEM

2008-02-24 Thread Andreas Schneider
Hi Hackers, at 12:00 CET you can watch Bill's talk [1] about CMake at the FOSDEM [2]. [1] http://streaming.linux-magazin.de/en/program_fosdem.htm [2] http://www.fosdem.org/2008/schedule/events/cmake -- http://www.cynapses.org/ - cybernetic synapses signature.asc Description: OpenPGP digit