[CMake] Using CMake for cross-compîling?

2006-08-26 Thread Eric Noulard
Let's say I want to cross-compile my Windows application/library on my Linux box using a cross-gcc (like mingw)? Is it possible to indicate to CMake that we will use a cross compiler? In order to avoid (for example) to get a mylib.so file if we want a mylib.dll. Does CMake support cross-compili

[CMake] Re: getting rid of additional quotes in generated vcproj

2006-08-26 Thread Andrew Maclean
  I think this has something to do parsing path names correctly where there are spaces in path names.  Some of the really early bugs in CMake may document this, it became apparent around the time VC7/7.1 was introduced. I am sure that the extra quotes were needed for some reason. On the other hand,

Re: [CMake] getting rid of additional quotes in generated vcproj PreprocessorDefines

2006-08-26 Thread Erwin Coumans
Thanks, I reported a new bug, and added a link to the existing bug report here: http://www.cmake.org/Bug/bug.php?op=show&bugid=3664&pos=0 Pity this cannot be fixed by editing a text template (without recompiling). Erwin - Original Message - From: "Jan Woetzel" <[EMAIL PROTECTED]> To:

Re: [CMake] Hi, i am looking for some help to build kuroo with cmake

2006-08-26 Thread Alexandre BIQUE
On Saturday 26 August 2006 23:07, Alexandre BIQUE wrote: > > > > Did you use the "--kde3" switch for am2cmake ? (Probably you did). > > > Yes, i did. > > > > > > > Can you please post some concrete error messages ? > > > > > > Generating options1.cpp > > > cd /home/babali/develop/kuroo-test/src/c

Re: [CMake] Hi, i am looking for some help to build kuroo with cmake

2006-08-26 Thread Alexandre BIQUE
> > > Did you use the "--kde3" switch for am2cmake ? (Probably you did). > > Yes, i did. > > > > > Can you please post some concrete error messages ? > > > > Generating options1.cpp > > cd /home/babali/develop/kuroo-test/src/config && /usr/bin/cmake \ > > -DKDE_UIC_FILE:STRING=/home/babali/develo

Re: [CMake] [ADD_CUSTOM_COMMAND] How to add source dependences to the target ouside of the command?

2006-08-26 Thread Brad King
Tristan Carel wrote: The module `UseSwig' provided in the version 2.4.3 provides a macro named `SWIG_ADD_MODULE' to define a C/C++ library wrapped for one of the targets supported by Swig. This macro uses the command `ADD_CUSTOM_COMMAND' to define the rule as below: wrapper.cxx: foo.i swig [

Re: [CMake] getting rid of additional quotes in generated vcproj PreprocessorDefines

2006-08-26 Thread Jan Woetzel
Brad King wrote: [EMAIL PROTECTED] wrote: ...get rid of the additional " ADD_DEFINITIONS(-DSN_TARGET_PS3) This is related to my existing bug report: http://www.cmake.org/Bug/bug.php?op=show&bugid=3354 Jan. -- Dipl.-Ing. Jan Woetzel