[CMake] Build cmake as a static executable

2009-09-18 Thread Xiangyun Kong
I need to deploy cmake in an environment in which the old shared libraries need to be used, so I would like to build cmake as a statically executable without linked any shared libraries. Do anyone try to build cmake that way ? Thanks for sharing any experience. Xiangyun __

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
Thanks for the information. Unfortunately, I cannot find the command prompt. Xiangyun --- On Tue, 8/25/09, David Cole wrote: > From: David Cole > Subject: Re: [CMake] Cross-compilation related question > To: "Xiangyun Kong" > Cc: "Tyler Roscoe" , cmake@cmak

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
It can generate 64-bit code if the cross-compiler under bin/x86_amd64 is used. Xiangyun --- On Tue, 8/25/09, John Drescher wrote: > From: John Drescher > Subject: Re: [CMake] Cross-compilation related question > To: "Xiangyun Kong" > Cc: "Tyler Roscoe" ,

Re: [CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
, Tyler Roscoe wrote: > From: Tyler Roscoe > Subject: Re: [CMake] Cross-compilation related question > To: "Xiangyun Kong" > Cc: cmake@cmake.org > Date: Tuesday, August 25, 2009, 1:05 AM > On Tue, Aug 25, 2009 at 12:08:10AM > -0700, Xiangyun Kong wrote: > >

[CMake] Cross-compilation related question

2009-08-25 Thread Xiangyun Kong
I am trying to do a cross-compilation with CMake. I got a problem in creating a 64-bit shared library on a Win32 platform. The problem is the CMAKE is always appending the /machine:I386 following my arch setup /machine:x64. My CMake file looks like, CMAKE_FORCE_CXX_COMPILER(VC_CROSS_COMPILER

Re: [CMake] How to avoid -${MAKEFLAGS} in the CMAKE generated Makefiles ?

2009-07-07 Thread Xiangyun Kong
Thanks. I am not sure how to ask CMAKE create unix makefiles on windows. Xiangyun --- On Tue, 7/7/09, Bill Hoffman wrote: > From: Bill Hoffman > Subject: Re: [CMake] How to avoid -${MAKEFLAGS} in the CMAKE generated > Makefiles ? > To: "Xiangyun Kong" > C

[CMake] How to avoid -${MAKEFLAGS} in the CMAKE generated Makefiles ?

2009-07-07 Thread Xiangyun Kong
I am getting some problems in using CMAKE on windows. With CMAKE generated Makefiles, when I use gnu make, I am getting the following errors, NMAKE : fatal error U1065: invalid option '-' It seems the -$(MAKEFLAGS) on the Make command options lead to the problem. The MAKEFLAGS is not defined in

[CMake] How to define a global scope variable ?

2009-06-22 Thread Xiangyun Kong
How could I define a global scoped variable in CMAKE, so that I could use something like, set (global_name ${global_name} {files}) to collect all files in each sub-catogory recursively ? It seems I could only use PARENT_SCOPE to make the parent directory aware of the variable. Thanks for

Re: [CMake] How to create a static library out of other static libraries in CMAKE ?

2009-06-14 Thread Xiangyun Kong
KE ? > To: "Xiangyun Kong" > Cc: cmake@cmake.org > Date: Sunday, June 14, 2009, 7:52 PM > On Sun, Jun 14, 2009 at 06:55:15PM > -0700, Xiangyun Kong wrote: > > I take it back, even I specify the full names, > > the library is built without taking those static > libr

Re: [CMake] How to create a static library out of other static libraries in CMAKE ?

2009-06-14 Thread Xiangyun Kong
I take it back, even I specify the full names, the library is built without taking those static libraries linked into the target library. Thanks. Xiangyun --- On Sun, 6/14/09, Xiangyun Kong wrote: > From: Xiangyun Kong > Subject: Re: [CMake] How to create a static library out of

Re: [CMake] How to create a static library out of other static libraries in CMAKE ?

2009-06-14 Thread Xiangyun Kong
out of other static > libraries in CMAKE ? > To: "Xiangyun Kong" > Cc: cmake@cmake.org > Date: Sunday, June 14, 2009, 5:44 PM > On Sun, Jun 14, 2009 at 03:40:56PM > -0700, Xiangyun Kong wrote: > > Is there a way in CMAKE to create a static library out > of >

[CMake] How to create a static library out of other static libraries in CMAKE ?

2009-06-14 Thread Xiangyun Kong
Is there a way in CMAKE to create a static library out of existing static libraries and object files ? Thanks for any helps. Xiangyun ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/op

Re: [CMake] Question about -E cmake_progress_start ...

2009-05-28 Thread Xiangyun Kong
rom: Tyler Roscoe > Subject: Re: [CMake] Question about -E cmake_progress_start ... > To: "Xiangyun Kong" > Cc: cmake@cmake.org > Date: Thursday, May 28, 2009, 8:08 AM > Make sure you reply to the list, not > just to me. > > On Wed, May 27, 2009 at 10:35:19PM -0

[CMake] Question about -E cmake_progress_start ...

2009-05-27 Thread Xiangyun Kong
Hi, I could not find any documentation about the semantics of the following command, cmake -E cmake_progress_start Makefile 1 The cmake documention says -E should only following one of supported commands like make_directory. I do see the above style of usage in a lot of places, but fail to