Re: [CMake] [Dev] CMake 2.5 tool chain support example

2007-06-18 Thread Alexander Neundorf
Hi Trevor, On Saturday 16 June 2007 11:27, Trevor Kellaway wrote: > Alex, > > > Please update to current cvsand use "Generic" as > > CMAKE_SYSTEM_NAME, there is now a Generic.cmake in cmake. > > > > ... > > > > > > SET (CMAKE_C_OUTPUT_EXTENSION ".o"CACHE STRING "C ...") > > > > SET (CMAKE_CX

Re: [CMake] FILE command in make_custom_target

2007-06-18 Thread Brandon Van Every
On 6/17/07, Philippe Fremy <[EMAIL PROTECTED]> wrote: Hi, I want a directory to be built when a custom target is executed. I tried something like this: add_custom_target( doc_libyzis COMMAND FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../a

Re: [CMake] CMake and Cross Compiling

2007-06-18 Thread Alexander Neundorf
On Monday 18 June 2007 04:33, vincent ROULLIER wrote: > Hi  > > I've got this error when I'm trying to compile ITK for windows from OSX > > CMake Error: Neither the __isnand nor the __inline_isnand functions are > available ! > > Another question, > Can i compile an application for windows usi

Re: [CMake] Storing and auto-decrypting sensitive files in cmake SAFELY and SANELY

2007-06-18 Thread Gavin Beatty
On 18/06/07, Gavin Beatty <[EMAIL PROTECTED]> wrote: The problem stems from storing configs in a git repository. Here, all files are either chmoded 0655 or 0755 meaning anyone knowing where to look can find my wpa2 passphrase. What I would _like_ is for ordinary user gavin (who owns the repositor

[CMake] Linkerflags / library include path

2007-06-18 Thread Rajko Albrecht
Hi, I have on some linux distributions following problem: 1. The project contains a shared library installed into /usr/lib[64] and a binary linked against. (Other projects uses that library) 2. When building the project on some systems the application will get get linked against version in /us

Re: [CMake] CMake and Cross Compiling

2007-06-18 Thread vincent ROULLIER
Alexander Neundorf a écrit : On Monday 18 June 2007 04:33, vincent ROULLIER wrote: Hi  I've got this error when I'm trying to compile ITK for windows from OSX CMake Error: Neither the __isnand nor the __inline_isnand functions are available ! Another question, Can i compile

Re: [CMake] [PATCHES] Linux NSIS support

2007-06-18 Thread Alexander Neundorf
On Saturday 16 June 2007 17:15, Michal Čihař wrote: > Hi > > On Thu, 14 Jun 2007 10:29:40 -0400 > > Alexander Neundorf <[EMAIL PROTECTED]> wrote: > > Can you please check that CMake cvs HEAD with the attached patch works > > under Linux with the NSIS generator ? > > Yes, it works fine. Thanks, com

Re: [CMake] CPack and 7-Zip?

2007-06-18 Thread Alexander Neundorf
On Monday 18 June 2007 03:58, Peter Visser wrote: > > Please update from cvs. > > > > It seems stripping static libs is a bad idea (since it removes their > > symbol > > table) and stripping import libs doesn't make sense (since they don't > > have debug information), so both are now excluded from

Re: [CMake] how to use a cross linker

2007-06-18 Thread Alexander Neundorf
Hi, On Saturday 16 June 2007 03:54, kitts wrote: > On Friday 15 Jun 2007 6:06:14 pm Alexander Neundorf wrote: > > Hi, > > > > On Friday 15 June 2007 02:54, kitts wrote: > > ... > > > > > I cannot publish the source but let me describe how i do it now with my > > > project at work. > > > > > > In t

Re: [CMake] creating static library with references to other .lib files

2007-06-18 Thread Jesper Eskilson
2007/6/14, David Cole <[EMAIL PROTECTED]>: It's "advanced" CMake use, but you might want to have a look at overriding the CMake "rule variable" CMAKE_CXX_CREATE_STATIC_LIBRARY. (Or _C_ if it's C source code.) You should be able to add some linker flags in there, although they may apply to all sta

RE: [CMake] [Dev] CMake 2.5 tool chain support example

2007-06-18 Thread Trevor Kellaway
Alex, > Not too long ago I also did some programming e.g. on a PIC16, > which had 2k word program memory (2 k word != 2048 byte, > since one word is 14 bit) and 256 byte (not KB ! ;-) of RAM. FYI, using my previous patch method I have the Microchip PIC18 compiler working under CMake, although

Re: [CMake] FILE command in make_custom_target

2007-06-18 Thread Pau Garcia i Quiles
Quoting Philippe Fremy <[EMAIL PROTECTED]>: Hi, I want a directory to be built when a custom target is executed. I tried something like this: add_custom_target( doc_libyzis COMMAND FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../apidoc )

[CMake] FILE command in make_custom_target

2007-06-18 Thread Philippe Fremy
Hi, I want a directory to be built when a custom target is executed. I tried something like this: add_custom_target( doc_libyzis COMMAND FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../apidoc ) COMMAND ${DOXYGEN} libyzis.doxy

[CMake] CMake and Cross Compiling

2007-06-18 Thread vincent ROULLIER
Hi  I've got this error when I'm trying to compile ITK for windows from OSX CMake Error: Neither the __isnand nor the __inline_isnand functions are available ! Another question, Can i compile an application for windows using ITK libraries of OSX ? I know, it's a stupid question ... Any i

Re: [CMake] CPack and 7-Zip?

2007-06-18 Thread Peter Visser
Please update from cvs. It seems stripping static libs is a bad idea (since it removes their symbol table) and stripping import libs doesn't make sense (since they don't have debug information), so both are now excluded from stripping. Please correct me if I'm wrong. Let me know if stripping t

[CMake] Re: Cmake and cross compiling

2007-06-18 Thread vincent ROULLIER
Brandon Van Every wrote: > On 6/15/07, vincent ROULLIER <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I would like to compile ITK on OS X for windows. I'm using cmake with >> mingw to >> compile ITK. But I have some problem to configure CMAKE parameters to >> compile it