[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

[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 = . \ .. \

[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 path to report file) 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

Re: [CMake] ctest_submit() error

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

[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

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

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

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 = . \

[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

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