[CMake] Join Two Class in Wrapper

2007-07-19 Thread Paulo Henrique Junqueira Amorim
Hello, I am join two class, is vtkDCMParser [1] in vtk class to generate wrapper python language, as to create the archive cmakelist.txt? I have files .cxx and .h from vtkDCMParser. [1] - http://www.slicer.org/ Regards. Paulo Amorim

[CMake] 2.4.7 does not preserve symbolic links in the source distribution tarball

2007-07-19 Thread Alan W. Irwin
I have some relatively large data directories in my source tree which tend to be symlinked four different ways in the source tree to save disk space. However, the source distribution tarball generated by make package_source is essentially 5 times too large because the symlinks are replaced with

Re: [CMake] How to exclude CMakeLists.txt from generated projects?

2007-07-19 Thread Brandon Van Every
On 7/19/07, Sebastian Schuberth <[EMAIL PROTECTED]> wrote: Hi, I'm using CMake to generate Visual Studio 2005 project files. By default, CMake seems to add the CMakeLists.txt file from which the projects was generated to the project itself. I'd like to avoid that. As the CMakeLists.txt is not pa

Re: [CMake] CMake memory exhaustion

2007-07-19 Thread Bill Hoffman
Alan W. Irwin wrote: Thanks, Bill, for that hint. I uncommented values others had obviously used before me near the top of that file. #define YYMAXDEPTH 10 #define YYINITDEPTH 1 That's a factor of 10 increase in YYMAXDEPTH and factor of 50 increase in YYINITDEPTH. With those genero

Re: [CMake] CMake memory exhaustion

2007-07-19 Thread Alan W. Irwin
On 2007-07-19 16:29-0400 Bill Hoffman wrote: However, this is a really clumsy workaround so, Bill, can you recommend a 2.4.7 fix I can test? You could try messing around with these values, in cmCommandArgumentParser.cxx: /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYIN

Re: [CMake] CMake memory exhaustion

2007-07-19 Thread Alan W. Irwin
On 2007-07-19 14:58-0400 Bill Hoffman wrote: Alan W. Irwin wrote: The (truncated) error message I am getting is as follows: make package_source Run CPack packaging tool for source... /home/software/cmake/install/bin/cpack --config /home/irwin/cdburn1/interior_eos /SFHEAD/build_dir/CPackSource

[CMake] Re: rc compile options in visual studio

2007-07-19 Thread Jon W
> When using visual studio, the resource compile options are updated > with the cxx preprocessor definitions and the cxx include paths. > > How can I remove all of the cxx preprocessor/include definitions and > redefine the options? I haven't had any luck trying to reset the > options such as: >

Re: [CMake] CMake memory exhaustion

2007-07-19 Thread Bill Hoffman
Alan W. Irwin wrote: The (truncated) error message I am getting is as follows: make package_source Run CPack packaging tool for source... /home/software/cmake/install/bin/cpack --config /home/irwin/cdburn1/interior_eos /SFHEAD/build_dir/CPackSourceConfig.cmake CMake Error: Syntax error in cmake

[CMake] CMake memory exhaustion

2007-07-19 Thread Alan W. Irwin
The (truncated) error message I am getting is as follows: make package_source Run CPack packaging tool for source... /home/software/cmake/install/bin/cpack --config /home/irwin/cdburn1/interior_eos /SFHEAD/build_dir/CPackSourceConfig.cmake CMake Error: Syntax error in cmake code at /home/irwin/c

Re: [CMake] FIND_PACKAGE: QUIET and REQUIRED should be mutually exclusive, right?

2007-07-19 Thread Alexander Neundorf
On Tuesday 26 June 2007 17:57, Miguel A. Figueroa-Villanueva wrote: > Hello all, ... > Hence, what I gather is that: > > 1. neither QUIET, nor REQUIRED: means complain, but don't issue FATAL_ERROR > 2. QUIET: means don't complain and don't issue FATAL_ERROR > 3. REQUIRED: means complain and issue F

Re: [CMake] Update of many FindXXX.cmake modules, please check

2007-07-19 Thread Miguel A. Figueroa-Villanueva
Thanks Alex, I think this is a great step in the right direction. IMHO, Standardizing the variable naming convention and the interface of all Find modules is important. However, during the discussion for submitting the current FindwxWidgets.cmake module (Bug #3443) Brad King pointed out: "...I'

[CMake] How to exclude CMakeLists.txt from generated projects?

2007-07-19 Thread Sebastian Schuberth
Hi, I'm using CMake to generate Visual Studio 2005 project files. By default, CMake seems to add the CMakeLists.txt file from which the projects was generated to the project itself. I'd like to avoid that. As the CMakeLists.txt is not part of the file list that I pass to e.g. ADD_LIBRARY, it

RE: [CMake] ADA language

2007-07-19 Thread Alan W. Irwin
On 2007-07-19 11:06+0200 Camek, Alexander wrote: Hi List, Some question to the internal behaviour of cmake. As i see in CmakeInformation.cmake there are the options or the lines set for every language. What me bother is that with all language models given by cmake, everything is all right. B

[CMake] Update of many FindXXX.cmake modules, please check

2007-07-19 Thread Alexander Neundorf
Hi, since yesterday cmake cvs HEAD has a new macro FIND_PACKAGE_HANDLE_STANDARD_ARGS(name var1 ...) which can be used to handle the _FIND_REQUIRED and _FIND_QUIETLY variables in FindXXX.cmake files. Additionally it sets _FOUND to TRUE or FALSE depending on the value of all variables given as pa

Re: [CMake] How to test environment variable in IF command

2007-07-19 Thread Philippe Fremy
Mike Talbot wrote: > Hi, > > I'm trying to work out how to test for an environment variable in an IF > command, the following doesn't work: > > SET(ENV{FOO} ON) > MESSAGE("FOO = $ENV{FOO}")# prints "FOO = ON" > IF(ENV{FOO}) > MESSAGE("FOO is set") > ENDIF(ENV{FOO}) > > Does anyone know wha

Re: [CMake] ADA language

2007-07-19 Thread Alexander Neundorf
On Thursday 19 July 2007 05:06, Camek, Alexander wrote: > Hi List, > > Some question to the internal behaviour of cmake. > As i see in CmakeInformation.cmake there are the options or the > lines set for every language. What me bother is that with all language > models given by cmake, everything is

Re: [CMake] Re: CMake precompiled header support (in MSVC 7.1)

2007-07-19 Thread Alexander Jasper
Hi all, I'm saying thank you to everybody for all the advice given. Using the new version it works out of the box. Great tool! kind regards Alexander Original-Nachricht Datum: Wed, 18 Jul 2007 12:23:18 -0400 Von: "Dave Wolfe" <[EMAIL PROTECTED]> An: cmake@cmake.org Betref

Re: [CMake] How to test environment variable in IF command

2007-07-19 Thread Mike Talbot
Ok - thanks, that works. David Cole wrote: When dealing with ENV variable values, you should probably test their contents with something like this: IF("$ENV{FOO}" STREQUAL "ON") ... ... ... ENDIF("$ENV{FOO}" STREQUAL "ON") --- or --- SET(myFOO $ENV{FOO}) IF(myFOO) ... ... ... ENDIF(myFOO)

Re: [CMake] How to test environment variable in IF command

2007-07-19 Thread David Cole
When dealing with ENV variable values, you should probably test their contents with something like this: IF("$ENV{FOO}" STREQUAL "ON") ... ... ... ENDIF("$ENV{FOO}" STREQUAL "ON") --- or --- SET(myFOO $ENV{FOO}) IF(myFOO) ... ... ... ENDIF(myFOO) HTH, David On 7/19/07, Mike Talbot <[EMAIL P

[CMake] How to test environment variable in IF command

2007-07-19 Thread Mike Talbot
Hi, I'm trying to work out how to test for an environment variable in an IF command, the following doesn't work: SET(ENV{FOO} ON) MESSAGE("FOO = $ENV{FOO}")# prints "FOO = ON" IF(ENV{FOO}) MESSAGE("FOO is set") ENDIF(ENV{FOO}) Does anyone know what the right syntax for doing this is, ple

RE: [CMake] ADA language

2007-07-19 Thread Camek, Alexander
Hi List, Some question to the internal behaviour of cmake. As i see in CmakeInformation.cmake there are the options or the lines set for every language. What me bother is that with all language models given by cmake, everything is all right. But when I use the Ada modules from plplot, on my syst