Re: [CMake] Good sample code for finding and using os x frameworks?

2007-04-10 Thread E. Wing
Ditto :) On 4/6/07, Mike Jackson <[EMAIL PROTECTED]> wrote: If you have the time.. go for it.. There is lots I would like to put up there.. just no time... -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Apr 6, 2007, at 4:49 PM, Andrew Wagner wrote:

Re: [CMake] TARGET_LINK_LIBRARIES question

2007-04-10 Thread david . rhoda
> On Tuesday 10 April 2007 20:22, [EMAIL PROTECTED] wrote: > > I would like to be able to add the full path to the library via > > TARGET_LINK_LIBRARIES. I have looked through the documentation but have > > not found a way to this. > > > > When I TARGET_LINK_LIBRARIES( test /path/to/libA.lib) I g

Re: [CMake] TARGET_LINK_LIBRARIES question

2007-04-10 Thread a . neundorf-work
On Tuesday 10 April 2007 20:22, [EMAIL PROTECTED] wrote: > I would like to be able to add the full path to the library via > TARGET_LINK_LIBRARIES. I have looked through the documentation but have > not found a way to this. > > When I TARGET_LINK_LIBRARIES( test /path/to/libA.lib) I get the equiva

[CMake] TARGET_LINK_LIBRARIES question

2007-04-10 Thread david . rhoda
I would like to be able to add the full path to the library via TARGET_LINK_LIBRARIES. I have looked through the documentation but have not found a way to this. When I TARGET_LINK_LIBRARIES( test /path/to/libA.lib) I get the equivalent of -L /path/to -l libA.lib. I'd like to get -l /path/to/

Re: [CMake] Command line defines

2007-04-10 Thread Filipe Sousa
dieter oberkofler wrote: > Is it possible to set a CMake variable on the CMake command line (-D > MYVAR:BOOL=ON) without having CMake caching this variable automatically? > Cheers, > Dieter > $ cmake -DMYVAR=ON Filipe Sousa signature.asc Description: OpenPGP digital signature

[CMake] FindXmlTo.cmake

2007-04-10 Thread Hendrik Sattler
Hi, since there is no handling for docbook in cmake, yet, I wrote a find file to handle XML docBook files with xmlto. Where can I store it? The Wiki? Not much there. Or is there a better place? HS # - Convert XML docBook files to various formats # This will convert XML docBook files to various

[CMake] Specify gcc optimization levels

2007-04-10 Thread Timo Rumland
Hello, how is the usual approach to let the user specify the gcc optimization levels in the CMake interface? There are several variables like --- CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG -g CMAKE_CXX_FLAGS_MINSIZEREL -Os -DNDEBUG CMAKE_CXX_FLAGS_RELEASE -O3 -DNDEBUG C

[CMake] Command line defines

2007-04-10 Thread dieter oberkofler
Is it possible to set a CMake variable on the CMake command line (-D MYVAR:BOOL=ON) without having CMake caching this variable automatically? Cheers, Dieter ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Good sample code for finding and using os x frameworks?

2007-04-10 Thread Mike Jackson
Probably NOT needed.. I was using some typedefs out of one of includes in there and it seemed to solve some compile errors. I need to go back and clean all that up. So if someone uses the code snippet below, try removing the INCLUDE_DIRECTORIES ( /Developer/Headers/FlatCarbon ) line. Sorr

Re: [CMake] Good sample code for finding and using os x frameworks?

2007-04-10 Thread Sean McBride
On 4/5/07 5:44 PM, Mike Jackson said: >Here is a code snippet from a CMakeLists.txt file that i use to >compile some Qt projects. Qt needs the Carbon framework, Quicktime >Framework and ApplicationServices. > >IF(APPLE) >#SET(GUI_TYPE MACOSX_BUNDLE) >INCLUDE_DIRECTORIES ( /Developer/Headers/FlatCa

Re: [CMake] Mastering CMake

2007-04-10 Thread Bill Hoffman
Dave Feustel wrote: I'm reading the book describing CMake 2.2. Is there a new edition of the book on the way? There is a FAQ on this: http://www.cmake.org/Wiki/CMake_FAQ#What_is_the_most_recent_version_covered_by_the_Mastering_CMake_book.3F All I can say is that there will be a new version

Re: [CMake] What is the preferred method of establishing the dependence of a custom command on an executable target?

2007-04-10 Thread Bill Hoffman
Brandon J. Van Every wrote: That will make sure the DOIT_EXE is built before the command is run. I would swear that once upon a time, that was not true. The DEPENDS was a file level dependency. It would not trigger a target level dependency. I think there was a version that was out at

Re: [CMake] spaces in command line options

2007-04-10 Thread Antonio, Fabio Di Narzo
2007/4/10, David Cole <[EMAIL PROTECTED]>: CMake is passing your double quoted string as a single arg. You should be able to just eliminate the double quotes in this case and it should get passed as multiple space-separated args when used... TNX! That works perfectly :-) HTH, David On 4

Re: [CMake] spaces in command line options

2007-04-10 Thread David Cole
CMake is passing your double quoted string as a single arg. You should be able to just eliminate the double quotes in this case and it should get passed as multiple space-separated args when used... HTH, David On 4/10/07, Antonio, Fabio Di Narzo <[EMAIL PROTECTED]> wrote: Hi all. I'm using the

[CMake] spaces in command line options

2007-04-10 Thread Antonio, Fabio Di Narzo
Hi all. I'm using the swig module for building a java wrapper to my library. Here's the problematic code in the relevant CMakeLists.txt: # SET(CMAKE_SWIG_OUTDIR org/my/lib) SET(CMAKE_SWIG_FLAGS "-package org.my.lib") Both directives are properly parsed. However, this generates something