Re: [CMake] adding to variables within subdirectories

2008-10-13 Thread Eric Noulard
2008/10/14 Paul Harris <[EMAIL PROTECTED]>: > Hi, > > In the root CMakeLists.txt, I have a variable - a list of files... > > set( TRANSFILES ) ? how do i create an empty list ? > > > then i add a subdirectory > add_subdirectory(whatever) > > and in whatever/CMakeLists.txt, i want to add some file

[CMake] adding to variables within subdirectories

2008-10-13 Thread Paul Harris
Hi, In the root CMakeLists.txt, I have a variable - a list of files... set( TRANSFILES ) ? how do i create an empty list ? then i add a subdirectory add_subdirectory(whatever) and in whatever/CMakeLists.txt, i want to add some files... file (GLOB CPPFILES *.cpp) set (TRANSFILES ${TRANSFILE

Re: [CMake] [Paraview] Forcing a Qt version

2008-10-13 Thread Clinton Stimpson
An updated FindQt4.cmake has been committed to CVS that makes this easier. If you change the qmake pointed to, the includes, libraries, etc... are re-found. So you can change the Qt you're using for your project simply by changing the QT_QMAKE_EXECUTABLE variable. Clint On Oct 8, 2008,

Re: [CMake] Updated WinCE CMakefiles

2008-10-13 Thread Alexander Neundorf
On Tuesday 14 October 2008, Alexander Neundorf wrote: > On Friday 10 October 2008, Clemens Arth wrote: > > Andreas, > > > > sorry but it took me a little longer to get the diff done, but now I > > included some more things I found useful. Currently everything runs fine > > for PPC2003,SP2003,WM5,WM

Re: [CMake] ASM issue: regression from 2.6.0 to 2.6.2?

2008-10-13 Thread Alexander Neundorf
On Monday 13 October 2008, Emmanuel Blot wrote: > Hi, > > I've just upgrade from CMake 2.6.0 to CMake 2.6.2. > > All our C projects that relies on some assembler file (ARM assembly) > are now broken. > I'm not sure about what has changed in CMake so that ASM stopped to > work. > > The 3 CMakeASM* f

Re: [CMake] Updated WinCE CMakefiles

2008-10-13 Thread Alexander Neundorf
On Friday 10 October 2008, Clemens Arth wrote: > Andreas, > > sorry but it took me a little longer to get the diff done, but now I > included some more things I found useful. Currently everything runs fine > for PPC2003,SP2003,WM5,WM6, and CE5.0, based on your configuration and > some additional fl

Re: [CMake] Problem with CMAKE_C_SOURCE_FILE_EXTENSIONS

2008-10-13 Thread Alexander Neundorf
On Monday 13 October 2008, [EMAIL PROTECTED] wrote: > Hi, > I would like to compile a generated file (for example MyFile.myextension) > with the C compiler. The "SET(CMAKE_C_SOURCE_FILE_EXTENSIONS myextension)" > doesn't seem to work : file is ignored ! Any idea ? Without checking, I think this va

Re: [CMake] Generators options

2008-10-13 Thread Alexander Neundorf
On Monday 13 October 2008, Yves Martelli wrote: > Hi, > I'm trying to find out if it is possible to set options of generated > project files in CMake. Can I for example set the 'stop on first error' in > a Kdevelop project file from my CMakeList? No. This option is currently not set by the kdevelo

[CMake] ASM issue: regression from 2.6.0 to 2.6.2?

2008-10-13 Thread Emmanuel Blot
Hi, I've just upgrade from CMake 2.6.0 to CMake 2.6.2. All our C projects that relies on some assembler file (ARM assembly) are now broken. I'm not sure about what has changed in CMake so that ASM stopped to work. The 3 CMakeASM* files look identical (between 2.6.2 and 2.6.0), we use "AT

Re: [CMake] Problem with CMAKE_C_SOURCE_FILE_EXTENSIONS

2008-10-13 Thread Mathieu Malaterre
Does this work: SET_SOURCE_FILES_PROPERTIES(MyFile.myextension PROPERTIES LANGUAGE C) 2008/10/13 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, > > I would like to compile a generated file (for example MyFile.myextension) > with the C compiler. The "SET(CMAKE_C_SOURCE_FILE_EXTENSIONS myextension)"

[CMake] Problems with CMAKE language selection

2008-10-13 Thread Carminati Federico
Dear All, I have a problem with Cmake while choosing the language within a CMakeList.txt. It was explained to me on this list that this is indeed not possible, however a friend pointed me out an "undocumented" feature of CMake. If you initialise the CMakeLists.txt with Project(MyProj

[CMake] Problem with CMAKE_C_SOURCE_FILE_EXTENSIONS

2008-10-13 Thread [EMAIL PROTECTED]
Hi, I would like to compile a generated file (for example MyFile.myextension) with the C compiler. The "SET(CMAKE_C_SOURCE_FILE_EXTENSIONS myextension)" doesn't seem to work : file is ignored ! Any idea ? Thanks. Sebastien Écoutez gratuitemen

Re: [CMake] CPack 2.6.2: can't create temporary directory

2008-10-13 Thread Eric Noulard
2008/10/13 Bill Hoffman <[EMAIL PROTECTED]>: > Eric Noulard wrote: >> >> It seems that DESTDIR is not honored in CMake 2.6.[12] >> whereas it was in 2.6.0. >> >> Change has been made in Source/CPack/cmCPackGenerator.cxx::prepareNames >> which does not check for destdir being set or not... >> try a

Re: [CMake] CPack 2.6.2: can't create temporary directory

2008-10-13 Thread Bill Hoffman
Eric Noulard wrote: 2008/10/13 Petri Hodju <[EMAIL PROTECTED]>: Hi! I have put together a custom way of building packages inspired by Stuart Herring posted here earlier: Fri Apr 4 20:39:04 EDT 2008 [CMake] CPack: Building Multiple Packages Everything is working fine with version 2.6.0 but thi

Re: [CMake] Stand alone Visual Studio Solution

2008-10-13 Thread Bill Hoffman
Jesper Eskilson wrote: Eran Burstain wrote: Hi ! We want to begin working with CMake in a large project, but we want to have a regular Visual's sln-vcproj projects in the source control, for users that cannot use CMake. Can we activate CMake and force in to create all paths relative ? This

Re: [CMake] CPack 2.6.2: can't create temporary directory

2008-10-13 Thread Eric Noulard
2008/10/13 Petri Hodju <[EMAIL PROTECTED]>: > Hi! > > I have put together a custom way of building packages inspired by Stuart > Herring posted here earlier: > > Fri Apr 4 20:39:04 EDT 2008 > [CMake] CPack: Building Multiple Packages > > Everything is working fine with version 2.6.0 but things brea

[CMake] Generators options

2008-10-13 Thread Yves Martelli
Hi, I'm trying to find out if it is possible to set options of generated project files in CMake. Can I for example set the 'stop on first error' in a Kdevelop project file from my CMakeList? Thanks. ___ CMake mailing list CMake@cmake.org http://www.cmak

[CMake] CPack 2.6.2: can't create temporary directory

2008-10-13 Thread Petri Hodju
Hi! I have put together a custom way of building packages inspired by Stuart Herring posted here earlier: Fri Apr 4 20:39:04 EDT 2008 [CMake] CPack: Building Multiple Packages Everything is working fine with version 2.6.0 but things break up with 2.6.2. The error I get is like: CPack Error: P

Re: [CMake] ctest submit via http proxy using password

2008-10-13 Thread Yuri Timofeev
Sorry. I was wrong. It works! export http_proxy=user:[EMAIL PROTECTED]://proxy:3128/ 2008/10/13 Yuri Timofeev <[EMAIL PROTECTED]>: > Hi > > cmake-2.4.6-3.fc6 > How to make ctest send files via a proxy? > > export HTTP_PROXY=user:[EMAIL PROTECTED]:3128 > > ... > Submit files (using http) > Using

[CMake] ctest submit via http proxy using password

2008-10-13 Thread Yuri Timofeev
Hi cmake-2.4.6-3.fc6 How to make ctest send files via a proxy? export HTTP_PROXY=user:[EMAIL PROTECTED]:3128 ... Submit files (using http) Using HTTP submit method Drop site: http://site.org Error when uploading file: /home/regress/Testing/Build.xml Error message was: Couldn't resolv

Re: [CMake] Stand alone Visual Studio Solution

2008-10-13 Thread Jesper Eskilson
Eran Burstain wrote: Hi ! We want to begin working with CMake in a large project, but we want to have a regular Visual's sln-vcproj projects in the source control, for users that cannot use CMake. Can we activate CMake and force in to create all paths relative ? This is a good starting point