Re: Re: [CMake] how to add capability to generate preprocessed and not-yet-compiled files ?

2006-07-13 Thread Alexander Neundorf
Original-Nachricht Von: Brad King <[EMAIL PROTECTED]> > Alexander Neundorf wrote: > > Hi, > > > > it would be nice if it would be possible to have for each object file > also a target which only preprocesses the file and one which > preprocesses and compiles, but not assembles

[CMake] FindBoost

2006-07-13 Thread Andrew Maclean
Hi Jan, I have had another go at a general FindBoost.cmake. It is presently in the bug tracker as: http://public.kitware.com/Bug/bug.php?op=show&bugid=3447 Look at BoostConfig.Update2 and read the documentation and comments in the bug tracker. If you can improve on it, please do. The intent is to g

Re: [CMake] What is the preferred method of handling inter-library dependencies?

2006-07-13 Thread Alan W. Irwin
On 2006-07-13 17:02-0400 Brad King wrote: William A. Hoffman wrote: At 04:41 PM 7/13/2006, Alan W. Irwin wrote: How do I get access to the actual link flags used for the link command generated by cmake (which presumably includes all the appropriate -L and -l flags to access lib[xyz] and libext

Re: Re[2]: [CMake] VCProj Files: Precompiled headers

2006-07-13 Thread Peter Kahn
Oh really.  Cool because I just submitted a bug and tried fixing it myself.  I got about 1/2 way there wil Brad's help, then I was stumped when I got to the "PreCompiledHeaderThrough" setting.  I believe that the cmakelist file must specify it somewhere, but I'm not quite sure how to handle that. 

Re: [CMake] What is the preferred method of handling inter-library dependencies?

2006-07-13 Thread Brad King
William A. Hoffman wrote: > At 04:41 PM 7/13/2006, Alan W. Irwin wrote: >> How do I get access to the actual link flags used for the link command >> generated by cmake (which presumably includes all the appropriate -L and -l >> flags to access lib[xyz] and libexternal[12] as well as platform-depend

Re[2]: [CMake] VCProj Files: Precompiled headers

2006-07-13 Thread speedy
Hello Peter, you're lucky - check the mail-list archives of this month :) I've posted a patch for precompiled headers support for VS.NET 2003. :) Thursday, July 13, 2006, 8:40:48 PM, you wrote: BK> Peter Kahn wrote: >> I noticed that there is no support for the xml generation f

Re: [CMake] What is the preferred method of handling inter-library dependencies?

2006-07-13 Thread William A. Hoffman
At 04:41 PM 7/13/2006, Alan W. Irwin wrote: >On 2006-07-13 14:35-0400 William A. Hoffman wrote: > >>At 02:01 PM 7/13/2006, Alan W. Irwin wrote: >>>What are the preferred entries for TARGET_LINK_LIBRARIES? >>> >>>"Minimal dependencies", i.e., >>>TARGET_LINK_LIBRARIES(x y) >>>TARGET_LINK_LIBRARIES(y

Re: [CMake] What is the preferred method of handling inter-library dependencies?

2006-07-13 Thread Alan W. Irwin
On 2006-07-13 14:35-0400 William A. Hoffman wrote: At 02:01 PM 7/13/2006, Alan W. Irwin wrote: What are the preferred entries for TARGET_LINK_LIBRARIES? "Minimal dependencies", i.e., TARGET_LINK_LIBRARIES(x y) TARGET_LINK_LIBRARIES(y z) TARGET_LINK_LIBRARIES(z external1 external2) This shoul

Re: [CMake] cmake_check_build_system

2006-07-13 Thread Scott Amort
William A. Hoffman wrote: > Something like this: > > # > # Disallow in-source build > STRING(COMPARE EQUAL "${ParaView_SOURCE_DIR}" > "${ParaView_BINARY_DIR}" INSOURCE) > IF(INSOURCE) > MESSAGE(FATAL_ERROR "ParaView requi

Re: [CMake] FindBoost.cmake

2006-07-13 Thread Jan Woetzel
Brad King wrote: It will be added to CMake soon. Great news - saving my resources! Jan. -- Dipl.-Ing. Jan Woetzel -- University of Kiel Institute of Computer Science and Applied Mathematics Hermann-Rodewald-Str. 3 [room 310] 24098 Kiel/Ge

Re: [CMake] VCProj Files: Precompiled headers

2006-07-13 Thread Brad King
Peter Kahn wrote: > I noticed that there is no support for the xml generation for this and a > bunch of other options in the VS.NET 2003 vcproj > files. If all the xml settings correspond to command line switches, > then I can determine the switches and set them in the CMAKE_CXX_F

Re: [CMake] What is the preferred method of handling inter-library dependencies?

2006-07-13 Thread William A. Hoffman
At 02:01 PM 7/13/2006, Alan W. Irwin wrote: >What are the preferred entries for TARGET_LINK_LIBRARIES? > >"Minimal dependencies", i.e., >TARGET_LINK_LIBRARIES(x y) >TARGET_LINK_LIBRARIES(y z) >TARGET_LINK_LIBRARIES(z external1 external2) This should work fine in CMake. The libraries will be chaine

Re: [CMake] FindBoost.cmake

2006-07-13 Thread Brad King
Jan Woetzel wrote: > Hi, > has anybody a geneal purpose FindBoost.cmake? > > I started with the one from Andrew Maclean, see > http://public.kitware.com/pipermail/cmake/2005-October/007324.html There is a bug entry where Andrew and I are developing one. It will be added to CMake soon. http://ww

[CMake] What is the preferred method of handling inter-library dependencies?

2006-07-13 Thread Alan W. Irwin
Suppose in the same project I am building 3 different shared libraries where libx has symbols resolved by liby (but not by libz), and liby has symbols resolved by libz, and libz has symbols resolved by libexternal1 and libexternal2. So libx depends on liby (but not libz or the external libraries)

RE: [CMake] Problem with including resource files for visual studio .NET when using 2.4.2

2006-07-13 Thread Neumann, Jan (SCR US)
Thanks, for your help. Yes, just including the .rc file did the trick. Now everything works fine.   Jan   ---Jan Neumann, PhDMember of Technical Staff Siemens Corporate Research755 College Rd EastPrinceton, NJ 08540, USA Phone: +1 (609) 734 3653Cell: +1 (24

[CMake] FindBoost.cmake

2006-07-13 Thread Jan Woetzel
Hi, has anybody a geneal purpose FindBoost.cmake? I started with the one from Andrew Maclean, see http://public.kitware.com/pipermail/cmake/2005-October/007324.html Jan. -- Dipl.-Ing. Jan Woetzel -- University of Kiel Institute of Computer Sci

Re: [CMake] cmake_check_build_system

2006-07-13 Thread William A. Hoffman
At 12:59 PM 7/13/2006, Scott Amort wrote: >William A. Hoffman wrote: >> Why not use a forced out of source build? > >Sorry to hijack this thread, but how do you 'force' an out of source build? Something like this: # # Disallow

Re: [CMake] Problem with including resource files for visual studio .NET when using 2.4.2

2006-07-13 Thread Jan Woetzel
Neumann, Jan (SCR US) wrote: I assume this come from the fact that I simply  include all the resource files (both binary and text files) ... SET(PedDetectVDO_RESOURCES VehicleDetectApp.rc res/VehicleDetectApp.ico res/VehicleDetectApp.rc2 res/Toolbar.bmp res/VehicleDetectApp.manif

Re: [CMake] cmake_check_build_system

2006-07-13 Thread Scott Amort
William A. Hoffman wrote: > Why not use a forced out of source build? Sorry to hijack this thread, but how do you 'force' an out of source build? Thanks, Scott ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Problem with including resource files for visual studio .NET when using 2.4.2

2006-07-13 Thread William A. Hoffman
At 12:26 PM 7/13/2006, Neumann, Jan (SCR US) wrote: >Content-class: urn:content-classes:message >Content-Type: multipart/alternative; >boundary="_=_NextPart_001_01C6A699.1464CF54" > >Hi, > >I have used CMake 2.2.3 for over a year with my projects and never had a >problem. Today I upgr

[CMake] Problem with including resource files for visual studio .NET when using 2.4.2

2006-07-13 Thread Neumann, Jan (SCR US)
Hi,   I have used CMake 2.2.3 for over a year with my projects and never had a problem. Today I upgraded to 2.4.2, and the project files were generated fine for Visual Studio 2003 .NET, but during compilation I am getting very strange compilation errors where the compiler complains that the 

Re: [CMake] Selecting runtime library on Visual Studio projects

2006-07-13 Thread Philippe Poilbarbe
Jan Woetzel a écrit : Sagnes, Frederic wrote: How can I switch the default libraries (/MD and MDd switches) to the static ones (/MT and /MTd switches). (1) The easy way is start CMakeSetup.exe or ccmake and edit the flags by hand interactively. (2) Inti the cache one time with different flags.

[CMake] VCProj Files: Precompiled headers

2006-07-13 Thread Peter Kahn
I noticed that there is no support for the xml generation for this and a bunch of other options in the VS.NET 2003  vcproj files.  If all the xml settings correspond to command line switches, then I can determine the switches and set them in the CMAKE_CXX_FLAGS variable. Is this the standard soluti

Re: [CMake] Selecting runtime library on Visual Studio projects

2006-07-13 Thread Brad King
Sagnes, Frederic wrote: > Hello, > > I am building a project for Windows and Unix that relies on static multi > threaded runtime library on Windows (static STLport needs it). I'm using > Visual Studio .Net 2003 7.1 > > How can I switch the default libraries (/MD and MDd switches) to the static

Re: [CMake] Selecting runtime library on Visual Studio projects

2006-07-13 Thread Jan Woetzel
Sagnes, Frederic wrote: How can I switch the default libraries (/MD and MDd switches) to the static ones (/MT and /MTd switches). (1) The easy way is start CMakeSetup.exe or ccmake and edit the flags by hand interactively. (2) Inti the cache one time with different flags. See SET(... CAC

[CMake] Selecting runtime library on Visual Studio projects

2006-07-13 Thread Sagnes, Frederic
Hello, I am building a project for Windows and Unix that relies on static multi threaded runtime library on Windows (static STLport needs it). I'm using Visual Studio .Net 2003 7.1 How can I switch the default libraries (/MD and MDd switches) to the static ones (/MT and /MTd switches). I trie

Re: [CMake] passing a list to a CMake script

2006-07-13 Thread Philippe Poilbarbe
Sylvain Benner a écrit : Hi, ${CMAKE_COMMAND} -DMYLIST="${whatever}" -P myscript.cmake MYLIST comes through as a string. In myscript.cmake, I've been reconstructing the string into a list, on the risky assumption that blank spaces " "should be converted to semicolons ";" . Is there a clea

Re: [CMake] Redistributed files

2006-07-13 Thread Philippe Poilbarbe
Patrick Noffke a écrit : On Thu, 13 Jul 2006 02:39:29 +0930, Philippe Poilbarbe <[EMAIL PROTECTED]> wrote: Hello, Within CMakeList.txt files, is there a way to know which compiler dependant files have to be distributed along with the application. It may be different depending on the compile

Re: [CMake] passing a list to a CMake script

2006-07-13 Thread Sylvain Benner
Hi, ${CMAKE_COMMAND} -DMYLIST="${whatever}" -P myscript.cmake MYLIST comes through as a string. In myscript.cmake, I've been reconstructing the string into a list, on the risky assumption that blank spaces " "should be converted to semicolons ";" . Is there a cleaner way to pass a list to

Re: [CMake] COMMENT for ADD_CUSTOM_TARGET

2006-07-13 Thread David Somers
On Thursday 13 July 2006 01:33, Brandon J. Van Every wrote: > In CMake 2.4.2, ADD_CUSTOM_COMMAND has the "COMMENT" option, which is > rather convenient. ADD_CUSTOM_TARGET does not, so one has to type > "COMMAND ${CMAKE_COMMAND} -E echo" a lot. I've previously reported this. See http://www.cmake.o

[CMake] COMMENT for ADD_CUSTOM_TARGET

2006-07-13 Thread Brandon J. Van Every
In CMake 2.4.2, ADD_CUSTOM_COMMAND has the "COMMENT" option, which is rather convenient. ADD_CUSTOM_TARGET does not, so one has to type "COMMAND ${CMAKE_COMMAND} -E echo" a lot. Cheers, Brandon Van Every ___ CMake mailing list CMake@cmake.org ht

[CMake] passing a list to a CMake script

2006-07-13 Thread Brandon J. Van Every
Say I do: ${CMAKE_COMMAND} -DMYLIST="${whatever}" -P myscript.cmake MYLIST comes through as a string. In myscript.cmake, I've been reconstructing the string into a list, on the risky assumption that blank spaces " "should be converted to semicolons ";" . Is there a cleaner way to pass a lis