Re: [CMake] New FindMPI.cmake with multi-language support (was Re: FindMPI doesn't differentiate between languages)

2010-12-27 Thread Dave Partyka
This is very impressive Todd, :-) I will forward you directions on how you can submit this for code review. Also, I have a few projects we can test this with (VTK/ParaView), especially on Windows. As for _MPI_PACKAGE_DIR, I believe this may just be left over cruft that I thought I needed but ended

[CMake] New FindMPI.cmake with multi-language support (was Re: FindMPI doesn't differentiate between languages)

2010-12-27 Thread Todd Gamblin
Hi all,I'm attaching a new version of FindMPI.cmake.  I'd really like to get this code (or something like it) reviewed and integrated into next, so any help with testing, code reviewing, change suggestions, etc. would be much appreciated!This version supports finding MPI for different languages sep

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-27 Thread Bill Hoffman
On 12/27/2010 5:46 PM, Michael Jackson wrote: I have CMake 2.8.3 installed on a Windows 7 x64 system. I finally got around to installing VS2010 in order to try it out and when I run CMake-GUI there is no option for Visual Studio 2010? I was thinking there was support for VS2010 in CMake 2.8.3? G

[CMake] Visual Studio 2010 Generator Missing?

2010-12-27 Thread Michael Jackson
I have CMake 2.8.3 installed on a Windows 7 x64 system. I finally got around to installing VS2010 in order to try it out and when I run CMake-GUI there is no option for Visual Studio 2010? I was thinking there was support for VS2010 in CMake 2.8.3? Google seems to think so? Maybe I just missed s

Re: [CMake] proper setup to create file and have it installed

2010-12-27 Thread Michael Hertling
On 12/27/2010 12:32 PM, edA-qa mort-ora-y wrote: > I'm using lupdate/lrelease in QT and trying to have a generated file > installed. I've hit a few problems that I'm not clear on how they should > be resolved. > > To produce the file I have a chain of commands that ends with: > > add_custom_comma

Re: [CMake] Create Qt language files

2010-12-27 Thread Clinton Stimpson
On 12/27/2010 06:31 AM, NoRulez wrote: Hello, currently I use a file called "Languages.pro" which generates language files for my application. On the command line I call "qmake Languages.pro". How can I convert these file into cmake? CODECFORTR = UTF-8 CODECFORSRC = UTF-8 INCLUDEPATH = .

Re: [CMake] MSB4051

2010-12-27 Thread Bill Hoffman
On 12/27/2010 10:03 AM, Anders Backman wrote: Seems to be bug in CMake! I reduce the solution down to 1 project. Still fails. So I copied the generated .sln file into agx.cmake.sln More helpful would be a minimal CMakeLists.txt and instructions on how to get CMake to create the bad .sln file.

Re: [CMake] MSB4051

2010-12-27 Thread Anders Backman
Seems to be bug in CMake! I reduce the solution down to 1 project. Still fails. So I copied the generated .sln file into agx.cmake.sln Then I marked the solution in VisualStudio and selected File->save agx.sln. Now it works to build the whole solution. So there is SOMETHING wrong with the .sln f

[CMake] Most convenient way to pass information from dashboard script to cmake script

2010-12-27 Thread Wojciech Migda
Hi, I'm trying to pass information from a script executed for dashboard submission (ctest -S) to the underlying CMakeLists.txt which is to be parsed by (internally called by ctest) cmake. In other words, I'd like to have a system which will behave differently when configured directly through di

[CMake] MSB4051

2010-12-27 Thread Anders Backman
Hi all. Im using CMake 2.8.3 under windows 7 with Visual Studio 2010 32 bit. I have a rather large CMake configuration which has worked for a few years (VS2008). Now today I wanted to use VS2010 and suddenly ran into a problem. We use Incredibuild for a distributed build, and when I configure th

Re: [CMake] ctest_submit() error

2010-12-27 Thread David Cole
On Mon, Dec 27, 2010 at 8:39 AM, girish hilage wrote: > Hi, > > I am a newbie to cmake and cdash. > I am trying to submit my customized report to CDASH using > ctest_submit(FILES ) but getting following errors. > > - if I give it in CTestConfig.cmake and give "cmake ." then I am getting > below er

[CMake] ctest_submit() error

2010-12-27 Thread girish hilage
Hi, I am a newbie to cmake and cdash. I am trying to submit my customized report to CDASH using ctest_submit(FILES ) but getting following errors. - if I give it in CTestConfig.cmake and give "cmake ." then I am getting below error : CMake Error at CTestConfig.cmake:8 (ctest_submit):   Unknown

[CMake] Create Qt language files

2010-12-27 Thread NoRulez
Hello, currently I use a file called „Languages.pro“ which generates language files for my application. On the command line I call “qmake Languages.pro”. How can I convert these file into cmake? CODECFORTR = UTF-8 CODECFORSRC = UTF-8 INCLUDEPATH = . \ .. \ ../../../librarie

[CMake] proper setup to create file and have it installed

2010-12-27 Thread edA-qa mort-ora-y
I'm using lupdate/lrelease in QT and trying to have a generated file installed. I've hit a few problems that I'm not clear on how they should be resolved. To produce the file I have a chain of commands that ends with: add_custom_command( OUTPUT English.qm COMMAND lrelease ${LANG_D