RE: [CMake] Reading from stdin during exec_program

2007-03-04 Thread develop
Thanks, EXECUTE_PROCESS work just fine. I have been using the book for command reference, I will stop doing that. Thanks again. Regards - ThomaS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Filipe Sousa Sent: 4. marts 2007 00:59 To: cmake@cmake.org

RE: [CMake] crosscompiling problems on XP

2007-03-04 Thread Kishore, Jonnalagadda (IE10)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor Kellaway Sent: Sunday, March 04, 2007 10:39 PM To: kitts; cmake@cmake.org Subject: RE: [CMake] crosscompiling problems on XP >Kishore, >> On Thursday 01 Mar 2007 IST, Kishore, Jonnalagadda (IE10) wro

Re: [CMake] How does binary link with static library?

2007-03-04 Thread Brandon J. Van Every
Jong-young Park wrote: ... LINK_DIRECTORIES(../lib) LINK_LIBRARIES(crypt pthread my) These are old commands. Install CMake 2.4.6, read the cmake.html docs again, and don't use them. Look at TARGET_LINK_LIBRARIES. Cheers, Brandon Van Every ___

[CMake] How does binary link with static library?

2007-03-04 Thread Jong-young Park
Dear all. Thanks for replying before. I have 1 more question. With your help, I can make both(shared & static) libraries. However, in my bin/ directories, target must link with static library. for example, there two directories. bin/ bin.c lib/ libmy.a libmy.so I wanna make binary like fo

Re: [CMake] Kitware stuff installation for Xcode on Mac Os X

2007-03-04 Thread Bill Hoffman
Francesco Pasqualini wrote: Hi list, I apologize for my continuos weeping and crying but I've to be "on air" tomorrow for a university lab with my macbook and I can't be able to install and configure properly all the software of the kitware. Is there any of you that have some time to help me? Y

Re: [CMake] Re: CMake Digest, Vol 35, Issue 6

2007-03-04 Thread Ilya Shvetsov
CMake Error: Invalid configuration type in CMAKE_CONFIGURATION_TYPES: Debug_Unic ode (Valid types are Debug,Release,MinSizeRel,RelWithDebInfo) CMake Error: Invalid configuration type in CMAKE_CONFIGURATION_TYPES: Release_Un icode (Valid types are Debug,Release,MinSizeRel,RelWithDebInfo) Wher

[CMake] Re: CMake Digest, Vol 35, Issue 6

2007-03-04 Thread ElderOrb
crco> -- crco> Message: 6 crco> Date: Sun, 4 Mar 2007 11:30:33 +0200 crco> From: ElderOrb <[EMAIL PROTECTED]> crco> Subject: [CMake] adding and removing build configuration types crco> To: cmake@cmake.org crco> Message-ID: <[EMAIL PROTECTED]> crco> Content-Type: text/pl

Re: [CMake] How to forbid in-source build cleanly

2007-03-04 Thread Eric Noulard
2007/3/4, Alan W. Irwin <[EMAIL PROTECTED]>: On 2007-03-04 19:21+0100 Eric Noulard wrote: > > Is there a way to cleanly forbid in-source build? I don't know, but out of curiosity have you tried FILE(REMOVE ...) to get rid of CMakeCache.txt to make the above give a cleaner result or does that not

Re: [CMake] How to forbid in-source build cleanly

2007-03-04 Thread Alan W. Irwin
On 2007-03-04 19:21+0100 Eric Noulard wrote: Hi all, I want to forbid in-source build with our CMake build system. Currently I do this like that: PROJECT(TSP C) # We do not accept InSource build anymore STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource) IF(insource) ME

[CMake] Kitware stuff installation for Xcode on Mac Os X

2007-03-04 Thread Francesco Pasqualini
Hi list, I apologize for my continuos weeping and crying but I've to be "on air" tomorrow for a university lab with my macbook and I can't be able to install and configure properly all the software of the kitware. Is there any of you that have some time to help me? You can contact me on Msn

[CMake] How to forbid in-source build cleanly

2007-03-04 Thread Eric Noulard
Hi all, I want to forbid in-source build with our CMake build system. Currently I do this like that: PROJECT(TSP C) # We do not accept InSource build anymore STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource) IF(insource) MESSAGE(FATAL_ERROR "InSource Build is forbidden

RE: [CMake] crosscompiling problems on XP

2007-03-04 Thread Trevor Kellaway
Kishore, > On Thursday 01 Mar 2007 IST, Kishore, Jonnalagadda (IE10) wrote: > > I have recently tried porting a project to CMake but I am > facing a few issues when cross-compiling > ... > Is there something i am doing wrong? Everything works fine > when i use the native compiler 'gcc' instead o

[CMake] Proposal for full CMake cross compiler support

2007-03-04 Thread Trevor Kellaway
Hi, I've been working on adding support for a TI DSP compiler to CMake. Initially I started off down the same route as the current UseEcos.cmake support, however this didn't really work out for a number of reasons, one main one being if you don't have a native platform compiler (e.g. Visual Studio

Re: [CMake] Can I make both(STATIC & SHARED) type libraries?

2007-03-04 Thread Jong-young Park
On 3/4/07, Pascal Fleury <[EMAIL PROTECTED]> wrote: On Friday 02 March 2007 09:55:26 Jong-young Park wrote: > I tested it. > However, compiling was made twice(for example, 'gcc -c a.c' is performed > twice for shared and static). > > I feel some... disappointed. :) Don't feel lik ehtat:-) libto

Re: [CMake] adding and removing build configuration types

2007-03-04 Thread Ilya Shvetsov
On Sun, 04 Mar 2007 11:30:33 +0200, ElderOrb <[EMAIL PROTECTED]> wrote: Hello, cmake. There are 4 default build configurations defined by cmake: "debug", "release", "minSizeRel" and "relWithDebInfo". How to remove "minSizeRel" and "relWithDebInfo" and add "debug unicode" and "release unicode"?

[CMake] adding and removing build configuration types

2007-03-04 Thread ElderOrb
Hello, cmake. There are 4 default build configurations defined by cmake: "debug", "release", "minSizeRel" and "relWithDebInfo". How to remove "minSizeRel" and "relWithDebInfo" and add "debug unicode" and "release unicode"? ("debug unicode" is just "debug" with -DZ_UNICODE definition, the same is t