[CMake] OSX Bundling

2011-05-06 Thread jtwadsworth
I'm new to CMake and struggling to understand OSX building. I have a source code that used to install as an OSX .app just fine with make and its Makefile.osx. The maintainer has now switched to CMake but does not know how to write the CMakeLists.txt to achieve the same goal that Makefile.osx used

[CMake] Invitation to connect on LinkedIn

2011-05-06 Thread Mike Maul via LinkedIn
LinkedIn Mike Maul requested to add you as a connection on LinkedIn: -- Robert, I'd like to add you to my professional network on LinkedIn. - Mike Accept invitation from Mike Maul http://www.linkedin.com/e/-nf7vxk-gndtdt8h-1e/ucd2OXGR4jr_IQjfr

[CMake] Lunch Seminar in Clifton Park, NY

2011-05-06 Thread Lisa Avila
Kitware is pleased to offer a free lunch seminar entitled "Agile Programming Practices for High Quality Software Development" on Tuesday, May 17th from 12:00pm to 1:00pm. This seminar will be held in the Comfort Suites at 7 Northside Drive Clifton Park, NY 12065. This hour-long lunch and learn sem

Re: [CMake] Cmake 2.8.4 and gcc 4.6 on OSX

2011-05-06 Thread Michael Allen
Ok so you're basically saying that I can just tell cmake that I want to use a different compiler then, I think that would actually work with my current compiler and cmake... On Fri, May 6, 2011 at 12:58 PM, j s wrote: > I'm really sorry I answered this question.  I personally hate > macports, bu

Re: [CMake] Cmake 2.8.4 and gcc 4.6 on OSX

2011-05-06 Thread j s
I'm really sorry I answered this question. I personally hate macports, but it has its own version of cmake that won't work with the apple compiler: /opt/local/bin/cmake -DCMAKE_CXX_COMPILER=/opt/local/bin/g++ -DCMAKE_C_COMPILER=/opt/local/bin/gcc .. make VERBOSE=1 /opt/local/bin/g++-Wl,-sea

Re: [CMake] Cmake 2.8.4 and gcc 4.6 on OSX

2011-05-06 Thread j s
Macports works, but be warned that if you use rtti, (exceptions, dynamic casting), make sure that you only link against C++ libraries using the same compiler. Macports errantly uses its own system libraries in its compiler's. Juan On Fri, May 6, 2011 at 10:04 AM, Sean McBride wrote: > On Fri, 6

Re: [CMake] [CMAKE] OS X Framework and their name

2011-05-06 Thread Marco Antognini
I'm ending this monologue by this message. I hope this will help someone on day.. Currently, that is with cmake 2.8.4, this is completely not possible. I go through most of the sources and found cmTarget::GetFullNameInternal. Here is the relevant part of the function : void cmTarget::GetFullNa

Re: [CMake] Cmake 2.8.4 and gcc 4.6 on OSX

2011-05-06 Thread Michael Allen
I got it from here: http://hpc.sourceforge.net/ But that's just a pre-compiled version. If you compile gcc4.x yourself on your mac you'll see that it behaves the same way. I'm not trying to use any part of the Apple toolchain, so it makes perfect sense to me. On Fri, May 6, 2011 at 11:04 AM, Sea

Re: [CMake] Cmake 2.8.4 and gcc 4.6 on OSX

2011-05-06 Thread Sean McBride
On Fri, 6 May 2011 10:51:57 -0400, Michael Allen said: >I've installed a newer version of gcc because the version supplied by >Apple is so far out of date, but I don't know how to configure cmake >such that it uses the normal gcc flags instead of the >Apple specific flags. Is there a way to config

[CMake] Cmake 2.8.4 and gcc 4.6 on OSX

2011-05-06 Thread Michael Allen
Hi guys, I've installed a newer version of gcc because the version supplied by Apple is so far out of date, but I don't know how to configure cmake such that it uses the normal gcc flags instead of the Apple specific flags. Is there a way to configure cmake to use the appropriate flags even though

Re: [CMake] overruling compiler fails to work

2011-05-06 Thread J.S. van Bethlehem
Myles English wrote: On 6 May 2011 11:00, J.S. van Bethlehem wrote: Hello everybody, Let me say from the get-going: this is the worst question I could ask on this list because I'm pretty sure I don't provide enough information for a solution and the problem is likely not with CMake, but I c

[CMake] UseLATEX.cmake for nomencl package

2011-05-06 Thread Myles English
Hello, Using the nomencl package requires running makeindex a bit like this: makeindex document.nlo -s nomencl.ist -o document.nls So I have patched the file UseLATEX.cmake version 1.7.4 as below to accommodate it. It just a naive copy and paste of the text for glossaries, so I use USE_NOMENCLA

[CMake] overruling compiler fails to work

2011-05-06 Thread J.S. van Bethlehem
Hello everybody, Let me say from the get-going: this is the worst question I could ask on this list because I'm pretty sure I don't provide enough information for a solution and the problem is likely not with CMake, but I can't think of anything else currently, so I'll give it a go anyway, hop

Re: [CMake] How to add a target link library, but only for a custom configuration ?

2011-05-06 Thread Glenn Coombs
On 6 May 2011 01:12, Michael Hertling wrote: > > Yes, absolutely. Although setups with libraries which are needed in some > configurations only are quite rare, AFAIK, your case shows that this may > well happen. ;-) Possible - and more appropriate - solutions could be: > > - New target properties

Re: [CMake] 'recursive' or multiple level @@ replacement in configure_file

2011-05-06 Thread J.S. van Bethlehem
David Cole wrote: On Thu, May 5, 2011 at 7:08 AM, J.S. van Bethlehem > wrote: Hello, Today I was trying something along the following lines: in CMakeLists.txt set(BASENAME some_text) set(${BASENAME}_DIR /some/path) set(${BASENAME}_

[CMake] gobject-introspection

2011-05-06 Thread Micha Renner
Are there any plans to support gobject-introspection? Micha ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http: