Re: [cmake-developers] install bug on windows

2010-09-22 Thread Eric Noulard
2010/9/20 Eric Noulard eric.noul...@gmail.com: I pushed a working fix to stage fixAbsoluteDestHandlingRegression including the CMake coding standard wrt to if {}. I did NOT request the merge to next. I'll wait until I'll try to craft the corresponding new test. Should be tomorrow or

Re: [cmake-developers] install bug on windows

2010-09-22 Thread David Cole
Please merge the fix to next now and add the test later when you get the chance. We definitely need this fix before the final release even if it's still untested. Thanks, David On Wed, Sep 22, 2010 at 4:09 PM, Eric Noulard eric.noul...@gmail.comwrote: 2010/9/20 Eric Noulard

[CMake] Build multiple lib

2010-09-22 Thread Andrea Galeazzi
Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't actually have any source but it depends form all the other projects (lib1,.,libN) so it builds a static lib which contains all the ones. Now my problems is how to write a

[CMake] set_target_properties versus set_source_files_properties

2010-09-22 Thread pellegrini
Hello everybody, my question is in the title ! I want to create a fortran static library using the following set of g95 compiler flags -O3 -std=f2003 -funroll-loops -msse2 If I use: set_target_properties(my_static_lib PROPERTIES COMPILE_FLAGS -O3 -std=f2003 -funroll-loops -msse2) or

Re: [CMake] Build multiple lib

2010-09-22 Thread Michael Wild
On 22. Sep, 2010, at 12:48 , Andrea Galeazzi wrote: Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't actually have any source but it depends form all the other projects (lib1,.,libN) so it builds a static lib which

Re: [CMake] set_target_properties versus set_source_files_properties

2010-09-22 Thread Michael Wild
On 22. Sep, 2010, at 14:09 , pellegrini wrote: Hello everybody, my question is in the title ! I want to create a fortran static library using the following set of g95 compiler flags -O3 -std=f2003 -funroll-loops -msse2 If I use: set_target_properties(my_static_lib PROPERTIES

Re: [CMake] Build multiple lib

2010-09-22 Thread Ryan Pavlik
On 09/22/2010 10:32 AM, Michael Wild wrote: On 22. Sep, 2010, at 12:48 , Andrea Galeazzi wrote: Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't actually have any source but it depends form all the other projects

Re: [CMake] Build multiple lib

2010-09-22 Thread Andrea Galeazzi
Citando Michael Wild them...@gmail.com: On 22. Sep, 2010, at 12:48 , Andrea Galeazzi wrote: Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't actually have any source but it depends form all the other projects (lib1,.,libN)

[CMake] CMake and Absoft Fortran compilers

2010-09-22 Thread Michael Jackson
Does anyone use CMake in combination with the Absoft fortran compilers? What environment variables would need to be set to have cmake detect the Absoft compilers? Like you can set CC or CXX vars. Thanks for any information. ___ Mike

Re: [CMake] Build multiple lib

2010-09-22 Thread Ryan Pavlik
On Wed, Sep 22, 2010 at 11:19 AM, Andrea Galeazzi galea...@korg.it wrote: Citando Michael Wild them...@gmail.com: On 22. Sep, 2010, at 12:48 , Andrea Galeazzi wrote: Hi everybody, I've got a static lib project in vc6 as follow lib1 lib2 .. libN MainLib The MainLib doesn't

Re: [CMake] Build multiple lib

2010-09-22 Thread David Cole
If your goal is to link an executable to MainLib.lib, and MainLib.lib only, then please add all the sources directly to the add_library(MainLib STATIC ...) call. That is the easiest, most logical way to accomplish that task. If it's something else, then elaborate with more details. Perhaps

Re: [CMake] SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY)

2010-09-22 Thread Nicky Perian
What do you hope to achieve by setting this value? Trying to have Cpack see the currently installed NSIS program. Stopped setting CPACK_PACKAGE_INSTALL_REGISTRY_KEY and still have the same error. Cpack cannot find the installed and in path Unicode\makensis.exe

Re: [CMake] CMake and Absoft Fortran compilers

2010-09-22 Thread Yngve Inntjore Levinsen
Do you know how to compile for Fortran in general? I don't know the Absoft compiler, but I've used some others. First off you need to enable Fortran language. This you can do by e.g. PROJECT(projectname Fortran CXX C) where you after the project name gives a list of the languages you use in

Re: [CMake] set_target_properties versus set_source_files_properties

2010-09-22 Thread Michael Wild
On 22. Sep, 2010, at 17:49 , pellegrini wrote: Michael Wild a écrit : On 22. Sep, 2010, at 14:09 , pellegrini wrote: Hello everybody, my question is in the title ! I want to create a fortran static library using the following set of g95 compiler flags -O3 -std=f2003

[CMake] best practice way of copying libraries to an install package

2010-09-22 Thread edA-qa mort-ora-y
I need to produce a nice self-contained packaged of executables and libraries for my project. I've looked around the web and found many very distinct ways of achieving this. I was wondering if there is some best practice related to this. Ideally I'd like to work from the same variables I use for

[CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of the one project I want to build), and then I get a the build must be stopped

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread John Drescher
On Wed, Sep 22, 2010 at 4:20 PM, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today.  When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and I click No for don't start recompiling (because it calls ALL_BUILD instead of

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
On Wed, Sep 22, 2010 at 2:24 PM, John Drescher dresche...@gmail.com wrote: On Wed, Sep 22, 2010 at 4:20 PM, James Bigler jamesbig...@gmail.com wrote: I tried out CMake 2.8.3 RC1 with my project today. When I modify a CMakeLists.txt file and compile, the reload project dialog starts up and

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.com wrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On Wednesday, September 22, 2010, James Bigler jamesbig...@gmail.com wrote: I

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread David Cole
On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.com wrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly operation aborted dialog, it seems the .sln is reloaded correctly. On

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
Also, what are filters files? Sometimes I get a dialog that says: The filters file for project YYY has been modified outside the environment. I got this instead of the CMake macro dialog: 1-- Build started: Project: ZERO_CHECK, Configuration: Debug Win32 -- 1 Checking Build System 1

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.com wrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.com wrote: This happens on 2.8.2 as well, to me at least. In spite of that ugly

[CMake] VS 2010 generator generating project files with non-deterministic order

2010-09-22 Thread James Bigler
Here's a snippet from my ALL_BUILD.vcxproj: ItemGroup ProjectReference Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/superellipsoid/superellipsoid.vcxproj Project7CCB65D0-CD84-4FA6-AC9A-A69EA772F224/Project /ProjectReference ProjectReference

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread David Cole
On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote:

Re: [CMake] VS 2010 generator generating project files with non-deterministic order

2010-09-22 Thread David Cole
Probably related to the notes in this still open bug: http://public.kitware.com/Bug/view.php?id=10502 I assume this is also with 2.8.3-rc1? On Wed, Sep 22, 2010 at 5:04 PM, James Bigler jamesbig...@gmail.com wrote: Here's a snippet from my ALL_BUILD.vcxproj: ItemGroup

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
On Wed, Sep 22, 2010 at 3:06 PM, David Cole david.c...@kitware.com wrote: On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:32 PM, James Bigler

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread David Cole
On Wed, Sep 22, 2010 at 5:10 PM, James Bigler jamesbig...@gmail.com wrote: On Wed, Sep 22, 2010 at 3:06 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:55 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 2:40 PM, David Cole

[CMake] ccmake and cmake

2010-09-22 Thread Siddharth Srivastava
Hi everyone, Just joined the list. How can I tell ccmake to use a specific version of cmake? I have 2.4.7, 2.8.1 and 2.8.2 installed, and I wanted to use 2.8.2. Can I specify this on the command line? Thanks, sid. ___ Powered by www.kitware.com

Re: [CMake] VS 2010 generator generating project files with non-deterministic order

2010-09-22 Thread James Bigler
Ahh, yes. That would be the issue. I remember filing a similar bug for the VS 2008 generator a couple of years back. And, yes. I am seeing this with 2.8.3-rc1. James On Wed, Sep 22, 2010 at 3:10 PM, David Cole david.c...@kitware.com wrote: Probably related to the notes in this still open

Re: [CMake] VS Plugin error with VS 2010 and CMake 2.8.3 RC1

2010-09-22 Thread James Bigler
On Wed, Sep 22, 2010 at 3:12 PM, David Cole david.c...@kitware.com wrote: On Wed, Sep 22, 2010 at 5:10 PM, James Bigler jamesbig...@gmail.comwrote: On Wed, Sep 22, 2010 at 3:06 PM, David Cole david.c...@kitware.comwrote: On Wed, Sep 22, 2010 at 4:55 PM, James Bigler

Re: [CMake] ccmake and cmake

2010-09-22 Thread Ryan Pavlik
On 9/22/2010 4:13 PM, Siddharth Srivastava wrote: Hi everyone, Just joined the list. How can I tell ccmake to use a specific version of cmake? I have 2.4.7, 2.8.1 and 2.8.2 installed, and I wanted to use 2.8.2. Can I specify this on the command line? Thanks, sid. Each cmake comes with

Re: [CMake] best practice way of copying libraries to an install package

2010-09-22 Thread Ryan Pavlik
On 9/22/2010 2:39 PM, edA-qa mort-ora-y wrote: I need to produce a nice self-contained packaged of executables and libraries for my project. I've looked around the web and found many very distinct ways of achieving this. I was wondering if there is some best practice related to this. Ideally

Re: [CMake] ccmake and cmake

2010-09-22 Thread Siddharth Srivastava
Hi Ryan, Thanks. Where can i download the latest binary from? I searched and was only able to find binaries for cmake. if there is an apt-get way to do it, that would be great! sid. On Wed, Sep 22, 2010 at 3:10 PM, Ryan Pavlik rpav...@iastate.edu wrote: On 9/22/2010 4:13 PM, Siddharth

Re: [CMake] ccmake and cmake

2010-09-22 Thread David Cole
If you have cmake, you have ccmake. They are not installed separately. ccmake is part of the cmake package. On Wed, Sep 22, 2010 at 6:22 PM, Siddharth Srivastava sid...@gmail.comwrote: Hi Ryan, Thanks. Where can i download the latest binary from? I searched and was only able to find

[Cmake-commits] CMake branch, master, updated. v2.8.2-484-g6a72c7e

2010-09-22 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, master has been updated via 6a72c7e9ad4ed1b5143ee4293aebcb097d2d548b (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-488-ga602419

2010-09-22 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, master has been updated via a60241913cfd5e0d3005b2405b03aacd78c2ba99 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-491-g14d5ea7

2010-09-22 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, master has been updated via 14d5ea7438d4da9aa8c50323418f4ad1c4facc9a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-493-gdda5bbd

2010-09-22 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, master has been updated via dda5bbd7c9de31ea5da8463a3ae3a73830e0d7c5 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-495-g8150dc4

2010-09-22 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, master has been updated via 8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-909-g6a29e78

2010-09-22 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 6a29e78d1b3471397b307c8044fab752d6b60ebb (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-496-ga9bf98b

2010-09-22 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 a9bf98b2a6fc5a0f8b7023430779f74fcd0fa5c9 (commit) from