Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Arjen Markus
> On 2008-06-25 16:32+0200 Bernd Schubert wrote: > >> No, it is really no problem to link fortran libraries and to call their >> functions. It is onkly a bit nasty sometimes to write the proto types of >> the >> blas/lapack functions, since nobody seems to have created a complete set >> of >> these

[CMake] Company wide customization

2008-06-25 Thread Nicholas Yue
Hi, What is the best approach to company wide customization for CMake? Which file is always loaded by CMake upon start up? Is there another approach? If it is some particular file(s), can I share them with different platform version of CMake? Regards _

[CMake] Unwanted quoting of $

2008-06-25 Thread Jarl Lindrud
Hi, I've run into a problem trying to pass command line parameters to Visual C++, that contain the $ character. I'm building a C++/CLI module, and need to reference some .NET assemblies, with the /FU compiler option. Since Visual Studio stores the installation location of .NET in one of its own

Re: [CMake] Out-of-source build with QT_WRAP_UI

2008-06-25 Thread clinton
I've written comments in between... On Wednesday 25 June 2008 2:28:17 am Roy van Pelt wrote: > Dear all, > > I'm trying to create the following situation, but so far I did not > manage to do so with the examples I found on the Internet. > > I have: > > build_linux\ > CMakeLists.txt > src > ui

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Mike Jackson
He really needs to "see" what files FindBoost is trying to locate. The best way is to hack into the FindBoost.cmake file and add some debugging outputs and run cmake to find out exactly what FindBoost.cmake is really looking for. So down around line 449, insert the following: MESSAGE (STATU

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Alan W. Irwin
On 2008-06-25 14:46-0500 Ravi Tej Kavalipati wrote: Library File Name Listing on Problem Machine : http://www.cct.lsu.edu/~cdekate/problem_boost_library_list.txt Library File Name Listing on Working Machine : http://www.cct.lsu

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Mike Jackson
Maybe the issue is with the different versions of gcc. I don't have Cmake 2.6 to be able to look at the FindBoost.cmake file. You might want to find that file (/usr/local/share/cmake-2.6/Modules) and put some "message (STATUS "...") commands in it to try and trace through what is going wron

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Mike Jackson
Well all that looks correct. Is GCC the same version on each machine? Is CMake the same version on each machine? -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Jun 25, 2008, at 3:46 PM, Ravi Tej Kavalipati wrote: Library File Name Listing on Problem

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Ravi Tej Kavalipati
Library File Name Listing on Problem Machine : http://www.cct.lsu.edu/~cdekate/problem_boost_library_list.txt Library File Name Listing on Working Machine : http://www.cct.lsu.edu/~cdekate/working_boost_library_list.txt

Re: [CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Mike Jackson
what would be more useful would be the file name of the boost date_time (for example) library on both the personal and the workstation. The FindBoost looks for a pretty particular filename for the boost libraries. -- Mike Jackson Senior Research Engineer Innovative Management & Technology

[CMake] CMake generates different outputs on different Linux machines

2008-06-25 Thread Ravi Tej Kavalipati
Hi, I have CMakeLists.txt file which I have run on my personal linux machine and workstation, Celertias. I get different outputs, on my personal machine I get the executables linked to the boost libraries and on celeritas i get those libraries NOT FOUND. ON the Problem machine even though the boo

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Bernd Schubert
On Wednesday 25 June 2008, Alan W. Irwin wrote: > On 2008-06-25 16:32+0200 Bernd Schubert wrote: > > On Wednesday 25 June 2008, Alan W. Irwin wrote: > >> On 2008-06-25 15:15+0200 Hauke Heibel wrote: > >>> Hi there, > >>> > >>> I started diving into the world of CMake and spend the last two days in

Re: [CMake] Semantics of CMAKE_SYSTEM_PROCESSOR

2008-06-25 Thread Alexander Neundorf
On Wednesday 25 June 2008, Andreas Pokorny wrote: > Hi there, > I am back from india, and now back into maintaining cmake for our > project(s). Today I came across a problem regarding CMAKE_SYSTEM_PROCESSOR. > As I understood platform definition files are supposed to set this value. > The documenta

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Alan W. Irwin
On 2008-06-25 16:32+0200 Bernd Schubert wrote: On Wednesday 25 June 2008, Alan W. Irwin wrote: On 2008-06-25 15:15+0200 Hauke Heibel wrote: Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We are u

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Hauke Heibel
Bernd Schubert wrote: On Wednesday 25 June 2008, Alan W. Irwin wrote: I think that assumption needs lots of qualifiers. Did your run-time actually give correct numerical results when linking from a C main programme to f77blas.lib? Interfacing C/C++ and Fortran is a tricky business.

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Bernd Schubert
On Wednesday 25 June 2008, Alan W. Irwin wrote: > On 2008-06-25 15:15+0200 Hauke Heibel wrote: > > Hi there, > > > > I started diving into the world of CMake and spend the last two days in > > trying to convert a project of mine to be working with CMake. > > > > We are using BLAS in the project, so

[CMake] ctest and Visual Studio

2008-06-25 Thread Jesper Eskilson
I'm trying to add some tests to a project which is mainly built on Windows using Visual Studio. The problem I have is how to locate the binary used to run the test. The path to the binary depends on the Visual Studio macro "$(ConfigurationName)", so when I run ctest I get: $ vcbuild RUN_TESTS.v

Re: [CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Alan W. Irwin
On 2008-06-25 15:15+0200 Hauke Heibel wrote: Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We are using BLAS in the project, so obviously I gave FIND_PACKAGE(BLAS) a shot. In the beginning it w

[CMake] Extension proposal: CheckFortranFuinctionExists.cmake

2008-06-25 Thread Hauke Heibel
Hi there, I started diving into the world of CMake and spend the last two days in trying to convert a project of mine to be working with CMake. We are using BLAS in the project, so obviously I gave FIND_PACKAGE(BLAS) a shot. In the beginning it was not really working, but I found a workaroun

[CMake] Semantics of CMAKE_SYSTEM_PROCESSOR

2008-06-25 Thread Andreas Pokorny
Hi there, I am back from india, and now back into maintaining cmake for our project(s). Today I came across a problem regarding CMAKE_SYSTEM_PROCESSOR. As I understood platform definition files are supposed to set this value. The documentations says here: On systems that support uname, this varia

Re: [CMake] Generating import libs

2008-06-25 Thread Alexander.Camek
Hi Christian, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Christian Ehrlicher > Sent: Wednesday, June 25, 2008 2:22 PM > To: cmake@cmake.org > Subject: Re: [CMake] Generating import libs > > > Von: Alexande > > Hi all, > > > > First of all tha

Re: [CMake] Generating import libs

2008-06-25 Thread Christian Ehrlicher
> Von: Alexande > Hi all, > > First of all thanks for the great tool. > > I am using here cmake in combination with GNAT (Ada) under Windows and > MinGW. The support of Ada for cmake was made by Alan W. Irwin who made my life > much easier. > > As I wrote in an earlier mail to the list I noticed

[CMake] Generating import libs

2008-06-25 Thread Alexander.Camek
Hi all, First of all thanks for the great tool. I am using here cmake in combination with GNAT (Ada) under Windows and MinGW. The support of Ada for cmake was made by Alan W. Irwin who made my life much easier. As I wrote in an earlier mail to the list I noticed that Cmake generates during bu

[CMake] Out-of-source build with QT_WRAP_UI

2008-06-25 Thread Roy van Pelt
Dear all, I'm trying to create the following situation, but so far I did not manage to do so with the examples I found on the Internet. I have: build_linux\ CMakeLists.txt src ui mainWindow.ui main.cxx main.h CMakeLists.cxx The root CMakeLists uses SUBDIR to run the CMakeLists for

Re: [CMake] Missing header files in Visual Studio project

2008-06-25 Thread Eric Noulard
2008/6/25 Martin Apel <[EMAIL PROTECTED]>: > Hi all, > > I am using the CMake generator for Visual Studio 2005 to generate multiple > projects. CMake generates one project file per library, which is fine. When > looking at a generated project inside Visual Studio the > project tree contains "Header

[CMake] Missing header files in Visual Studio project

2008-06-25 Thread Martin Apel
Hi all, I am using the CMake generator for Visual Studio 2005 to generate multiple projects. CMake generates one project file per library, which is fine. When looking at a generated project inside Visual Studio the project tree contains "Header files" and "Source files". Strange is, that under