[CMake] CMake performance question

2006-10-19 Thread Alexander Neundorf
Hi, I have a question how CMake behaves for some special (but in my case very common) construction. I have two macros, each of them using ARGN for dealing with an unspecified number of arguments: #01 macro(_do_internal) #02foreach(_current ${ARGN}) #03 message(STATUS "${_current}) #04

RE: [CMake] ctest with SSL?

2006-10-19 Thread Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Thank You Brad. I'll try that. -- Artur Kedzierski -Original Message- From: Brad King [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 13:00 To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA Cc: CMake Mailing List Subject: Re: [CMake] ctest with SSL? Kedzierski, Artu

Re: [CMake] Can't use Boost ??

2006-10-19 Thread Andrew Maclean
Sorry, I also meant to add: "When you create a bug report, could you please send it to me and I will test it under QNX, XP and Debian"   Regards   Andrew  On 10/20/06, Brad King <[EMAIL PROTECTED]> wrote: Andreas Schneider wrote:> I have created a much better FindBoost.cmake module. It isn't tested

Re: [CMake] Can't use Boost ??

2006-10-19 Thread Andrew Maclean
I agree, it extends the one Brad/I developed already in CMake nicely. One of the issues I have had is the different suffixes on various systems.     Andrew   On 10/20/06, Brad King <[EMAIL PROTECTED]> wrote: Andreas Schneider wrote:> I have created a much better FindBoost.cmake module. It isn't tes

Re: [CMake] ctest with SSL?

2006-10-19 Thread Brad King
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: > Is there a way to enable SSL in CTest? > When I use 'https' URL, I get > curl_easy_perform() says: libcurl was built with SSL disabled[...] I've just committed changes to support building CMake against a system-installed curl. See thi

Re: [CMake] Creating visual studio 8 project with dll output

2006-10-19 Thread Brad King
Prename Surname wrote: > Hello all. > How do i create a visual studio 8 project with dll output? > What command must i use ? Write a CMakeLists.txt file containing ADD_LIBRARY(mylib SHARED mylib.c) Run CMakeSetup, and choose the "Visual Studio 8 2005" generator. See http://www.cmake.org/HTML/Do

Re: [CMake] VMS

2006-10-19 Thread Brad King
Steven Boyd wrote: > Can CMake be used on a VMS operating system? Does anybody have any > experience with this? What would be involved with trying to get it > working? Any tips on preventing a futile experiment would be welcomed! To my knowledge no one has attempted this before. I'm not too fa

[CMake] Creating visual studio 8 project with dll output

2006-10-19 Thread Prename Surname
Hello all. How do i create a visual studio 8 project with dll output? What command must i use ?   thank you very much ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] cmake segfaults with ASM compiler

2006-10-19 Thread Prakash Punnoor
Am Donnerstag 19 Oktober 2006 20:12 schrieb Brad King: > Prakash Punnoor wrote: > > Hi, > > > > if I use Windows cmake 2.4.x (x in 0 to 3) in MSYS/MinGW with MSYS (in > > Windows XP SP2 Ger) it segfaults with my custom Module for ASM compiler > > integration (perhaps you remember...). It starts seg

Re: [CMake] cmake segfaults with ASM compiler

2006-10-19 Thread Brad King
Prakash Punnoor wrote: > Hi, > > if I use Windows cmake 2.4.x (x in 0 to 3) in MSYS/MinGW with MSYS (in > Windows > XP SP2 Ger) it segfaults with my custom Module for ASM compiler integration > (perhaps you remember...). It starts segfaulting at generation time as soon > as I add a file with a

[CMake] VMS

2006-10-19 Thread Steven Boyd
Hello, Can CMake be used on a VMS operating system? Does anybody have any experience with this? What would be involved with trying to get it working? Any tips on preventing a futile experiment would be welcomed! Sincerely, Steve ___ CMake mailin

[CMake] cmake segfaults with ASM compiler

2006-10-19 Thread Prakash Punnoor
Hi, if I use Windows cmake 2.4.x (x in 0 to 3) in MSYS/MinGW with MSYS (in Windows XP SP2 Ger) it segfaults with my custom Module for ASM compiler integration (perhaps you remember...). It starts segfaulting at generation time as soon as I add a file with an asm ending to a target. It works fi

Re: [CMake] FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread clinton
> Filipe Sousa schrieb: > > Jens wrote: > >> Hi, > >> > >> FindQt4.cmake does not handle the new filenames of Qt-4.2.0-debug-libs. > >> > >> I compiled Qt 4.2.0 from source and see that the debug-libs changed > >> their names to "libQt*.so.4.2.0.debug" on linux. > > > > These are not debug librari

[CMake] Re: Compiling VTK-5.0.2 with Cygwin make

2006-10-19 Thread Steve Robbins
Hello all, This thread begins at http://public.kitware.com/pipermail/vtkusers/2006-September/087106.html Quoting Steve Robbins <[EMAIL PROTECTED]>: I'm having the same problem as Patrick D. Emond [http://public.kitware.com/pipermail/vtkusers/2006-September/086953.html] in building VTK unde

Re: [CMake] Eval/Exec of a string

2006-10-19 Thread Brad King
Benjamin THYREAU wrote: > Does someone know of a way to execute some cmake code contained in a string > variable ? Something like INCLUDE, but working from a string instead of a > file. There is no language feature for this. You could try using CONFIGURE_FILE to write the string to a file and t

[CMake] Eval/Exec of a string

2006-10-19 Thread Benjamin THYREAU
Hi, Does someone know of a way to execute some cmake code contained in a string variable ? Something like INCLUDE, but working from a string instead of a file. Thanks ! -- Benjamin ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/lis

Re: [CMake] Removing unused variables from the cache

2006-10-19 Thread Brad King
Sylvain Benner wrote: > I don't know if this is possible but you can set your variable to an > empty string. > > SET( SOME_OPTION "") > >> Is it possible to remove variables from the cache ? For example: >> >> OPTION( BUILD_X "Descr" OFF ) >> >> IF ( BUILD_X ) >>SET( SOME_OPTION "Hello world"

Re: [CMake] Removing unused variables from the cache

2006-10-19 Thread Sylvain Benner
Hello, I don't know if this is possible but you can set your variable to an empty string. SET( SOME_OPTION "") Sylvain Hi, Is it possible to remove variables from the cache ? For example: OPTION( BUILD_X "Descr" OFF ) IF ( BUILD_X ) SET( SOME_OPTION "Hello world" CACHE) ELSEIF (BUILD_

Re: [CMake] Can't use Boost ??

2006-10-19 Thread Brad King
Andreas Schneider wrote: > I have created a much better FindBoost.cmake module. It isn't tested on > all plattforms yet, but it should work just fine under Linux and Mac. As > soon as it is tested, I'll try to get it upstream. > > You can find it here: > > http://dev.openwengo.com/trac/openwengo/

Re: [CMake] Could somebody please explain how caching works with NOTFOUND variables?

2006-10-19 Thread Brad King
Alan W. Irwin wrote: > I suggest this important additional caching rule concerning the FIND_xxx > commands should be stated prominently in the principal documentation > that is > obtained by running the "cmake --help-full" command. To be fair, somewhere > in the Wiki (I have lost the exact referen

[CMake] Removing unused variables from the cache

2006-10-19 Thread Peter Soetens
Hi, Is it possible to remove variables from the cache ? For example: OPTION( BUILD_X "Descr" OFF ) IF ( BUILD_X ) SET( SOME_OPTION "Hello world" CACHE) ELSEIF (BUILD_X) UNSET( SOME_OPTION ) ENDIF ( BUILD_X ) Peter -- Peter Soetens -- FMTC -- ___

Re: [CMake] FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Jens
Filipe Sousa schrieb: > Jens wrote: >> Hi, >> >> FindQt4.cmake does not handle the new filenames of Qt-4.2.0-debug-libs. >> >> I compiled Qt 4.2.0 from source and see that the debug-libs changed >> their names to "libQt*.so.4.2.0.debug" on linux. > > These are not debug libraries. Qt 4.2.0 by defa

Re: [CMake] (more infos) FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Filipe Sousa
Jens wrote: > for more information I attached the output of "ls -la" of the > Qt4.2.0-lib-directory > > Jens schrieb: http://lists.trolltech.com/qt4-preview-feedback/2006-09/thread00083-0.html -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___

Re: [CMake] FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Filipe Sousa
Jens wrote: > Hi, > > FindQt4.cmake does not handle the new filenames of Qt-4.2.0-debug-libs. > > I compiled Qt 4.2.0 from source and see that the debug-libs changed > their names to "libQt*.so.4.2.0.debug" on linux. These are not debug libraries. Qt 4.2.0 by default splits the debug info from l

[CMake] (more infos) FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Jens
for more information I attached the output of "ls -la" of the Qt4.2.0-lib-directory Jens schrieb: > Hi, > > FindQt4.cmake does not handle the new filenames of Qt-4.2.0-debug-libs. > > I compiled Qt 4.2.0 from source and see that the debug-libs changed > their names to "libQt*.so.4.2.0.debug" on

[CMake] FindQt4 for Qt 4.2.0 does not recognise debug-libs

2006-10-19 Thread Jens
Hi, FindQt4.cmake does not handle the new filenames of Qt-4.2.0-debug-libs. I compiled Qt 4.2.0 from source and see that the debug-libs changed their names to "libQt*.so.4.2.0.debug" on linux. Are their any fixes for FindQt4.cmake to handle Qt 4.2.0 already? Greetings Jens _