Re: [cmake-developers] How to deal with assembler files

2011-03-03 Thread Brad King
Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the CMakeLists.txt file of the test does not use the C compiler flags. Therefore 32-bit assembly code is generated and then it tries to compile it with

Re: [cmake-developers] How to deal with assembler files

2011-03-03 Thread Alexander Neundorf
On Thursday 03 March 2011, Brad King wrote: Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the CMakeLists.txt file of the test does not use the C compiler flags. Therefore 32-bit assembly code

[cmake-developers] [CMake 0011925]: Visual Studio 2010 Generator mixing ClInclude and ClCompile tags for the same file

2011-03-03 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11925 == Reported By:Farid Zaripov Assigned To:

[cmake-developers] [CMake 0011926]: use_mangled_mesa as a scriptable operation

2011-03-03 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11926 == Reported By:hkrishna Assigned To:

Re: [CMake] QtCreator project generator

2011-03-03 Thread Rolf Eike Beer
On Tue, Mar 1, 2011 at 3:45 PM, Campbell Barton ideasma...@gmail.com Hi, my original questions is still unanswered. I'm not familiar with how the CMake project goes about these decisions. Are there any developers on this list who might review patches for new project generators? If so, any

[CMake] IF Matches

2011-03-03 Thread Micha Renner
Hello, IF(bgdgbBromNN MATCHES Brom) is true, but IF(Brom MATCHES bgdgbBromNN) is false. Should be same, or? Greetings Micha ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] IF Matches

2011-03-03 Thread Michael Wild
On 03/03/2011 11:25 AM, Micha Renner wrote: Hello, IF(bgdgbBromNN MATCHES Brom) is true, but IF(Brom MATCHES bgdgbBromNN) is false. Should be same, or? Greetings Micha No, the right-hand-side of MATCHES is a regular expression. Michael

[CMake] Multiple library configurations with the same output name

2011-03-03 Thread Alexey Livshits
Hello CMakers, suppose I've got a library foo with tow configurations: foo_1 and foo_2. Both versions should have the same output name: foo. The problem is, the output directory for both ist the same, so the second will overwrite the first. What's the best way to organize it? -- BG, Alexey

Re: [CMake] Multiple library configurations with the same output name

2011-03-03 Thread Eric Noulard
2011/3/3 Alexey Livshits livch...@web.de: Hello CMakers, suppose I've got a library foo with tow configurations: foo_1 and foo_2. Both versions should have the same output name: foo. The problem is, the output directory for both ist the same, so the second will overwrite the first. You can

[CMake] few solutions with cmake

2011-03-03 Thread Anton Sibilev
Hello! One more question.. For example I have such structure: folder:base CMakeLists.txt (with PROJECT(someproject)) folder:lib1 CMakeLists.txt folder:lib2 CMakeLists.txt folder:app CMakeLists.txt and result is someproject.sln with 3 projects lib1, lib2,

Re: [CMake] few solutions with cmake

2011-03-03 Thread Robert Bielik
Anton Sibilev skrev 2011-03-03 15:49: Hello! One more question.. For example I have such structure: folder:base CMakeLists.txt (with PROJECT(someproject)) folder:lib1 CMakeLists.txt folder:lib2 CMakeLists.txt folder:app CMakeLists.txt and result is

Re: [CMake] few solutions with cmake

2011-03-03 Thread gekso
No, only one solution (someproject.sln) for all three targets.. 2.8.3 version 2011/3/3 Robert Bielik robert.bie...@xponaut.se: Anton Sibilev skrev 2011-03-03 15:49: Hello! One more question.. For example I have such structure: folder:base CMakeLists.txt (with PROJECT(someproject))

Re: [CMake] few solutions with cmake

2011-03-03 Thread Robert Bielik
David Cole skrev 2011-03-03 15:57: Solution files correspond to project commands in CMakeLists.txt. Add a project command at the top of app/CMakeLists.txt Of course, I usually put a project command at top of CMakeLists.txt so I get the solution files... didn't cross my mind that not

Re: [CMake] few solutions with cmake

2011-03-03 Thread gekso
David, it has helped me, thanks :) 2011/3/3 David Cole david.c...@kitware.com: On Thu, Mar 3, 2011 at 9:52 AM, Robert Bielik robert.bie...@xponaut.se wrote: Anton Sibilev skrev 2011-03-03 15:49: Hello! One more question.. For example I have such structure: folder:base CMakeLists.txt

Re: [CMake] few solutions with cmake

2011-03-03 Thread Bill Hoffman
On 3/3/2011 9:59 AM, gekso wrote: No, only one solution (someproject.sln) for all three targets.. 2.8.3 version 2011/3/3 Robert Bielikrobert.bie...@xponaut.se: Anton Sibilev skrev 2011-03-03 15:49: Hello! One more question.. For example I have such structure: folder:base CMakeLists.txt

[CMake] use_mangled_mesa as a scriptable operation

2011-03-03 Thread Harinarayan Krishnan
Hi All, I would like to be able to script the cmake compatibility command use_mangle_mesa(mesapath/include/GL some_other_path). For example: %cat scriptfile cmake_minimum_required(VERSION 2.8) use_mangled_mesa(mesapath/include/GL some_other_path) %cmake -P scriptfile Ultimately it would be

Re: [CMake] libdir question

2011-03-03 Thread Alexander Neundorf
On Wednesday 02 March 2011, Frans de Boer wrote: Dear Readers, I guess that my question has been asked many time before, but I could not find it. So her it is (again): Using './configure --libdir=...' one can set the base directory where the libraries are supposed to be placed. CMake has so

Re: [CMake] QtCreator project generator

2011-03-03 Thread Alexander Neundorf
On Tuesday 01 March 2011, Campbell Barton wrote: On Tue, Mar 1, 2011 at 2:47 PM, Marcus D. Hanwell marcus.hanw...@kitware.com wrote: On Tue, Mar 1, 2011 at 9:15 AM, John Drescher dresche...@gmail.com wrote: On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton ideasma...@gmail.com wrote:

Re: [CMake] Stop substitution in passthrough list arguments?

2011-03-03 Thread Alexander Neundorf
On Thursday 03 March 2011, Chris Green wrote: Hi, I have a macro which takes a variety of arguments and does all the things necessary for making a test: compiling the exec (or copying the script), putting input files in the right place and setting desired properties on the test. I use the

Re: [CMake] make didn't compile

2011-03-03 Thread Enrique Izaguirre
Hello friends, As far as I have been investigating this problem, seems that GNU compilers have a problem when combining -c flag with multiple files and -o flag to generate an executable. The problem is that CMake somehow is generating the compile command, and assembling it wrongly. Is there any

Re: [CMake] make didn't compile

2011-03-03 Thread Alexander Neundorf
On Thursday 03 March 2011, Enrique Izaguirre wrote: Hello friends, As far as I have been investigating this problem, seems that GNU compilers have a problem when combining -c flag with multiple files and -o flag to generate an executable. The problem is that CMake somehow is generating the

[CMake] Set --build-config in a ctest script?

2011-03-03 Thread Macumber, Daniel
Is it possible to set the build config in a ctest script rather than pass it in on the command line? I haven't found a list of ctest variables in the documentation like there is for cmake. Thanks a lot, Dan ___ Powered by www.kitware.com Visit other

Re: [CMake] Set --build-config in a ctest script?

2011-03-03 Thread David Cole
In CMake 2.8.2 and later, you can: set(CTEST_CONFIGURATION_TYPE Release) # or Debug in the ctest -S script. That will influence both the ctest_build and ctest_test commands. HTH, David On Thu, Mar 3, 2011 at 2:09 PM, Macumber, Daniel daniel.macum...@nrel.govwrote: Is it possible to set

Re: [CMake] use_mangled_mesa as a scriptable operation

2011-03-03 Thread Alexander Neundorf
On Thursday 03 March 2011, Harinarayan Krishnan wrote: Hi All, I would like to be able to script the cmake compatibility command use_mangle_mesa(mesapath/include/GL some_other_path). Please put this in the cmake bug tracker, I'll take care of it. Alex

Re: [CMake] use_mangled_mesa as a scriptable operation

2011-03-03 Thread Harinarayan Krishnan
Thanks for looking into this. I have posted this request on the bug tracker. http://public.kitware.com/Bug/view.php?id=11926 http://public.kitware.com/Bug/view.php?id=11926Best regards, Hari 2011/3/3 Alexander Neundorf a.neundorf-w...@gmx.net On Thursday 03 March 2011, Harinarayan Krishnan

Re: [CMake] QtCreator project generator

2011-03-03 Thread Campbell Barton
On Thu, Mar 3, 2011 at 5:10 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday 01 March 2011, Campbell Barton wrote: On Tue, Mar 1, 2011 at 2:47 PM, Marcus D. Hanwell marcus.hanw...@kitware.com wrote: On Tue, Mar 1, 2011 at 9:15 AM, John Drescher dresche...@gmail.com wrote:

[CMake] Problem in escape sequence while add_definition.

2011-03-03 Thread Ashish Mahamuni
I am using cmake 2.8 version. My cmake contains following statements. cmake_policy(SET CMP0005 NEW) add_definitions( -DSTORE=\XYZ\ ) I am using VS 8 (2005). cmake writes the build file(vcproj) successfully without any warning When I see, vcproj. It contains \quot;\qout;XYZ\quot;\qout; So

[Cmake-commits] CMake branch, next, updated. v2.8.4-1076-g9feea12

2011-03-03 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 9feea1200a40f59d70e35034ccc91256e34789cd (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1083-g2bdac99

2011-03-03 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 2bdac994e5f4e9ce8e1810ea80f7fd8a693e6443 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-125-ged1cd2d

2011-03-03 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via ed1cd2daf6bedbfc9870852184940494bfacec42 (commit) from