Re: [CMake] Cmake 2.8.1 error

2010-04-19 Thread Yonggang Luo
Patch for reserving spaces in predefined macros. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ForReservingSpacesInMacrosForCDT4.patch Description: Binary data ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:/

[CMake] Fwd: CMake WebKit-EFL: initial preview

2010-04-19 Thread Gustavo Sverzut Barbieri
Resendind with links instead to cope with mail list 40kb limit. http://people.profusion.mobi/~gustavo/WebKit-EFL-CMake.patch http://people.profusion.mobi/~gustavo/WebKit-EFL-CMake_All-Missing-Patches.patch Sorry about the inconvenience. -- Forwarded message -- From: Gustavo Sverz

Re: [CMake] I'm confused with Find*.cmake and *-config.cmake

2010-04-19 Thread Micha Renner
Am Montag, den 19.04.2010, 16:07 -0400 schrieb Benoit Thomas: > Hello, > > I'm using an external library which is already compiled. I have wrapped > the library in a MyLib.cmake and use it in cmake as an imported library. > It works fine, but since the include line uses relative path, it changes

[CMake] Apply FIND_PACKAGE_HANDLE_STANDARD_ARGS() on COMPONENTS

2010-04-19 Thread Michael Hertling
Dear CMake community, dear CMake developers, until recently, there has been some considerations w.r.t. the applicability of FIND_PACKAGE_HANDLE_STANDARD_ARGS() to components requested by FIND_PACKAGE() with the COMPONENTS|REQUIRED option, see and the ini

Re: [CMake] Minimal Info.plist

2010-04-19 Thread Ryan Pavlik
You might consider the MACOSX_BUNDLE target property, which lets you build a bundle right at that time, including the info.plist - you can then use this with DragNDrop to have a DMG containing one or more app bundles for easy install. Ryan On 04/19/2010 07:04 PM, Ben Medina wrote: Hello all,

[CMake] Minimal Info.plist

2010-04-19 Thread Ben Medina
Hello all, I'm using the CPack Bundle generator to package my application on the Mac (assuming this is preferable to the DragNDrop generator according to http://www.cmake.org/Wiki/CMake:CPackPackageGenerators). One requirement is providing an Info.plist file, but I don't know what information is r

Re: [CMake] Assembler flag support

2010-04-19 Thread Alexander Neundorf
On Friday 16 April 2010, Matthias Goesswein wrote: > Hello! > > >> Is there a variable like CMAKE_C_FLAGS_INIT for the assembler available? > >> (e.g. CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT) > > > > Did you try this one ? > > I didn't add any explicit support for that, but I think this should work > >

Re: [CMake] I'm confused with Find*.cmake and *-config.cmake

2010-04-19 Thread Michael Wild
On 19. Apr, 2010, at 22:07 , Benoit Thomas wrote: > Hello, > > I'm using an external library which is already compiled. I have wrapped the > library in a MyLib.cmake and use it in cmake as an imported library. It works > fine, but since the include line uses relative path, it changes from proj

Re: [CMake] CMake 2.8.1 + Qt/Cocoa + OS X Problem -- qt_menu.nib not getting copied

2010-04-19 Thread Ben Medina
Hi Mike, I would be interested in taking a look at your git repo. Where is it located? Thanks, Ben On Fri, Apr 16, 2010 at 7:36 AM, Michael Jackson wrote: > Lets take a deeper look at what is needed for an OS X bundle, cmake and Qt. > >  The issues with making an OS X app bundle "relocatable" a

[CMake] I'm confused with Find*.cmake and *-config.cmake

2010-04-19 Thread Benoit Thomas
Hello, I'm using an external library which is already compiled. I have wrapped the library in a MyLib.cmake and use it in cmake as an imported library. It works fine, but since the include line uses relative path, it changes from projects to projects and in some case it looks just wrong. I w

Re: [CMake] Cmake problem on nfs partition

2010-04-19 Thread Patrick Begou
OK, I think I have found the problem after this holiday's week ;-) . It is not NFS nor autofs nor link related. The removing of the begining of my path is hardcoded in cmake :-( . In cmake-2.8.1/Source/kwsys/SystemTools.cxx line 4646. 4645 // Work-around an SGI problem by always adding this m

Re: [CMake] Project dependencies

2010-04-19 Thread Benjamin Eikel
Hello Alexander, Am Montag, 19. April 2010 um 18:03:28 schrieb Alexander Neundorf: > On Monday 19 April 2010, Benjamin Eikel wrote: > > Hello Alexander, > > > > Am Sonntag, 18. April 2010 10:52:17 schrieb Alexander Neundorf: > > > Hi Benjamin, > > > > > > On Friday 16 April 2010, Benjamin Eikel wr

Re: [CMake] Cmake 2.8.1 error

2010-04-19 Thread Alexander Neundorf
On Monday 19 April 2010, 罗勇刚 wrote: > My problems is once calling MinGW on eclipse, I wont' set the the PATH > in the host environment, but set it by using the .bat files, but once > generate eclipse project files, > the path information is lost:) > > > Also the eclipse can't generate the Predefine

Re: [CMake] Project dependencies

2010-04-19 Thread Alexander Neundorf
On Monday 19 April 2010, Benjamin Eikel wrote: > Hello Alexander, > > Am Sonntag, 18. April 2010 10:52:17 schrieb Alexander Neundorf: > > Hi Benjamin, > > > > On Friday 16 April 2010, Benjamin Eikel wrote: > > > Hello, > > > > > > maybe my first post was not clear enough. > > > I created a minimal

Re: [CMake] Looking for a way to do 'make install' to a destination

2010-04-19 Thread Michael Wild
On 19. Apr, 2010, at 16:22 , Magnus Therning wrote: > On Mon, Apr 19, 2010 at 11:36, Remy Chibois wrote: >> >> On Apr 19, 2010, at 12:16 PM, Magnus Therning wrote: >> >>> It's some times useful to do an install rooted not at '/' but at some >>> arbitrary location. Is there some way of doing t

Re: [CMake] Looking for a way to do 'make install' to a destination

2010-04-19 Thread Magnus Therning
On Mon, Apr 19, 2010 at 11:36, Remy Chibois wrote: > > On Apr 19, 2010, at 12:16 PM, Magnus Therning wrote: > >> It's some times useful to do an install rooted not at '/' but at some >> arbitrary location.  Is there some way of doing this with the GNU >> makefiles generated by cmake? >> >> Somethi

[CMake] Dependency checker and SYSTEM includes

2010-04-19 Thread Pavel Shevaev
Folks, I'm using include_regular_expression(..) in order to reduce the amount of work to be done by dependency checker and I find this command not very flexible in certain cases. I was wondering why not adding some option so that once the directory is included with SYSTEM flag it's not included in

Re: [CMake] Looking for a way to do 'make install' to a destination

2010-04-19 Thread Mike Jackson
Run ccmake or cmake-GUI and set the cmake_ install_ prefix - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Apr 19, 2010, at 6:16, Magnus Therning wrote: > It's some times

Re: [CMake] Looking for a way to do 'make install' to a destination

2010-04-19 Thread Remy Chibois
On Apr 19, 2010, at 12:16 PM, Magnus Therning wrote: > It's some times useful to do an install rooted not at '/' but at some > arbitrary location. Is there some way of doing this with the GNU > makefiles generated by cmake? > > Something like auto*'s 'make install DESTDIR=/where/I/want/it'? On

[CMake] Looking for a way to do 'make install' to a destination

2010-04-19 Thread Magnus Therning
It's some times useful to do an install rooted not at '/' but at some arbitrary location. Is there some way of doing this with the GNU makefiles generated by cmake? Something like auto*'s 'make install DESTDIR=/where/I/want/it'? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4

Re: [CMake] Project dependencies

2010-04-19 Thread Benjamin Eikel
Hello Alexander, Am Sonntag, 18. April 2010 10:52:17 schrieb Alexander Neundorf: > Hi Benjamin, > > On Friday 16 April 2010, Benjamin Eikel wrote: > > Hello, > > > > maybe my first post was not clear enough. > > I created a minimal example to demonstrate what I mean (see attached > > files). That

Re: [CMake] CMake and Matlab

2010-04-19 Thread Marcel Loose
Hi all, I've seen a lot of conversation about MEX. I was wondering if anyone has already gained some experience with MCC, the new Matlab to C/C++ Compiler. MCC generates a shared library directly from one or more M-files, using your native compiler under the hood, feeding it the correct compile an

Re: [CMake] CMake and Matlab

2010-04-19 Thread Tom Vercauteren
Hi all, As a side note on this topic: It's not really necessary to use the "mex" executables to build mex files. As far as I understand it, mex files are just shared libraries. It should thus be possible to use your usual c/c++ compiler to generate them. In this case, there is no need to patch cma