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 wednesday.

Sorry,  I'll be late for adding the test.
My next free time try should be this Week-End...

Sorry for the delay.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


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 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 wednesday.

 Sorry,  I'll be late for adding the test.
 My next free time try should be this Week-End...

 Sorry for the delay.

 --
 Erk
 Membre de l'April - « promouvoir et défendre le logiciel libre » -
 http://www.april.org

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


[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 CMakeLists in order to reproduce both 
the same build and the same structure of solution in VS 2010 as the 
original one.

Does anybody have any ideas?
Cheers
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[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
set_source_files_properties(${SRC_FILES} PROPERTIES COMPILE_FLAGS -O3 
-std=f2003 -funroll-loops -msse2)


where ${SRC_FILES} is the list of source files used to compile my static 
library, the result is the same when starting the make process.


So, in such a case is there a difference between those two functions ?

Another question I have is when applying one or the other function, this 
will duplicate some of the compiler flags (e.g. O3). The only way I 
found to avoid this is to do the following:


set(CMAKE_Fortran_FLAGS_RELEASE  )  
set_target_properties(crysfml PROPERTIES COMPILE_FLAGS -O3 -std=f2003 
-funroll-loops -msse2)


so everything looks as if by default the CMAKE_Fortran_FLAGS_RELEASE 
variable was set to -O3 and then, the value stored in the 
COMPILE_FLAGS variable was appended to it (so in that case -O3 + -O3 
-std=f2003 -funroll-loops -msse2 giving -O3 -O3 -std=f2003 
-funroll-loops -msse2). Am I right ?


thanks a lot

Eric

--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 contains all 
 the ones.
 Now my problems is how to write a CMakeLists in order to reproduce both the 
 same build and the same structure of solution in VS 2010 as the original one.
 Does anybody have any ideas?
 Cheers

Do you ever *need* lib1..libN except for assembling MainLib? If not, just drop 
them, they're useless.

Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken



PGP.sig
Description: This is a digitally signed message part
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 COMPILE_FLAGS -O3 -std=f2003 
 -funroll-loops -msse2)
 or
 set_source_files_properties(${SRC_FILES} PROPERTIES COMPILE_FLAGS -O3 
 -std=f2003 -funroll-loops -msse2)
 
 where ${SRC_FILES} is the list of source files used to compile my static 
 library, the result is the same when starting the make process.
 
 So, in such a case is there a difference between those two functions ?

Yes. The latter is if you need more fine-grained control (compile some files 
with other flags than the rest).

 
 Another question I have is when applying one or the other function, this will 
 duplicate some of the compiler flags (e.g. O3). The only way I found to avoid 
 this is to do the following:
 
 set(CMAKE_Fortran_FLAGS_RELEASE  )  
 set_target_properties(crysfml PROPERTIES COMPILE_FLAGS -O3 -std=f2003 
 -funroll-loops -msse2)
 
 so everything looks as if by default the CMAKE_Fortran_FLAGS_RELEASE variable 
 was set to -O3 and then, the value stored in the COMPILE_FLAGS variable was 
 appended to it (so in that case -O3 + -O3 -std=f2003 -funroll-loops 
 -msse2 giving -O3 -O3 -std=f2003 -funroll-loops -msse2). Am I right ?

Yes. RTFMing tells me:

$ cmake --help-property COMPILE_FLAGS
cmake version 2.8.2
  COMPILE_FLAGS
   Additional flags to use when compiling this target's sources.

   The COMPILE_FLAGS property sets additional compiler flags used to
   build sources within the target.  Use COMPILE_DEFINITIONS to pass
   additional preprocessor definitions

So, it says that the flags are appended to the standard flags.

 
 thanks a lot
 
 Eric

BTW: You shouldn't set -O3, -funroll-loops and -msse2 in COMPILE_FLAGS, since 
those are optimization flags. You should set them when you run cmake in 
CMAKE_Fortran_FLAGS_RELEASE.

Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken



PGP.sig
Description: This is a digitally signed message part
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 (lib1,.,libN) so it builds a static lib which contains all the 
ones.
Now my problems is how to write a CMakeLists in order to reproduce both the 
same build and the same structure of solution in VS 2010 as the original one.
Does anybody have any ideas?
Cheers

Do you ever *need* lib1..libN except for assembling MainLib? If not, just drop 
them, they're useless.

Michael


Furthermore, you could use the source_group feature to organize the 
sources without needing to do the multiple library approach.


--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

Member, ACM and ACM SIGCHI
Member, ASME

http://academic.cleardefinition.com

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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) so it builds a static lib   
which contains all the ones.
Now my problems is how to write a CMakeLists in order to reproduce   
both the same build and the same structure of solution in VS 2010   
as the original one.

Does anybody have any ideas?
Cheers


Do you ever *need* lib1..libN except for assembling MainLib? If not,  
 just drop them, they're useless.


Michael

--
There is always a well-known solution to every human problem --   
neat, plausible, and wrong.

H. L. Mencken




That's true but how can I then generate a vcprj for each lib? Now my  
filesystem is:

MainLib
CMakeLists.txt
+lib1
   CMakeLists.txt
   source1_1
   source1_2
   
+lib2
   CMakeLists.txt
   source2_1
   source2_2
   
 ..
 +libN
   CMakeLists.txt
   sourceN_1
   sourceN_2
   

CMakeLists.txt in MainLib has:
add_library(MainLib STATIC )
add_subdirectory(lib1)
...
target_link_libraries (MainLib lib1)

it produces a right vs solution but it dosen't produce the MainLib.lib

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[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 Jackson  www.bluequartz.net
Principal Software Engineer   mike.jack...@bluequartz.net
BlueQuartz Software   Dayton, Ohio



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 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 CMakeLists in order to reproduce  both
 the same build and the same structure of solution in VS 2010  as the
 original one.
 Does anybody have any ideas?
 Cheers


 Do you ever *need* lib1..libN except for assembling MainLib? If not,  just
 drop them, they're useless.

 Michael

 --
 There is always a well-known solution to every human problem --  neat,
 plausible, and wrong.
 H. L. Mencken



 That's true but how can I then generate a vcprj for each lib? Now my
 filesystem is:
 MainLib
CMakeLists.txt
+lib1
   CMakeLists.txt
   source1_1
   source1_2
   
+lib2
   CMakeLists.txt
   source2_1
   source2_2
   
 ..
 +libN
   CMakeLists.txt
   sourceN_1
   sourceN_2
   

 CMakeLists.txt in MainLib has:
 add_library(MainLib STATIC )
 add_subdirectory(lib1)
 ...
 target_link_libraries (MainLib lib1)

 it produces a right vs solution but it dosen't produce the MainLib.lib



If you want to do the separate vcproj files for each separate library, you
probably need to make mainlib shared and add an empty dummy.cxx file in your
add_library call.  (A static library is pretty much just a bunch of object
files glued together, so you don't really link a static library, in my
understanding, you just need to track those transitive link dependencies for
whatever ends up using your library).

The alternate, and preferred, technique would be to build a single library
for mainlib, and separate the sources for the sub-components using
source_group instead of projects.  There shouldn't really be a difference in
link time or build time, and since you probably should be using the solution
file rather the individual vcproj files to launch your environment, there's
really be very little effective difference.

Ryan
-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpav...@iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 somebody
else will chime in if they have another good suggestion...

CMake does not directly support convenience libs -- search the mailing
list archives. This subject has had much discussion over the years.

Add all the sources to one library if that's what you want.


HTH,
David


On Wed, Sep 22, 2010 at 12:19 PM, 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 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 CMakeLists in order to reproduce  both
 the same build and the same structure of solution in VS 2010  as the
 original one.
 Does anybody have any ideas?
 Cheers


 Do you ever *need* lib1..libN except for assembling MainLib? If not,  just
 drop them, they're useless.

 Michael

 --
 There is always a well-known solution to every human problem --  neat,
 plausible, and wrong.
 H. L. Mencken



 That's true but how can I then generate a vcprj for each lib? Now my
 filesystem is:
 MainLib
CMakeLists.txt
+lib1
   CMakeLists.txt
   source1_1
   source1_2
   
+lib2
   CMakeLists.txt
   source2_1
   source2_2
   
 ..
 +libN
   CMakeLists.txt
   sourceN_1
   sourceN_2
   

 CMakeLists.txt in MainLib has:
 add_library(MainLib STATIC )
 add_subdirectory(lib1)
 ...
 target_link_libraries (MainLib lib1)

 it produces a right vs solution but it dosen't produce the MainLib.lib


 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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





From: David Cole david.c...@kitware.com
To: Nicky Perian nickyper...@yahoo.com
Cc: cmake@cmake.org
Sent: Mon, September 20, 2010 12:32:48 PM
Subject: Re: [CMake] SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY)

Why are you trying to set CPACK_PACKAGE_INSTALL_REGISTRY_KEY ?

What do you hope to achieve by setting this value?

My suggestion is NOT to set it.
Or to set it to something like My Software Package Name.

There is no reason you should be trying to set it to 
HKEY_LOCAL_MACHINE/SOFTWARE/NSIS/Unicode -- that will not do anything useful 
for 
you.




On Mon, Sep 20, 2010 at 1:14 PM, Nicky Perian nickyper...@yahoo.com wrote:

Per suggestions; changed SET to below. Cpack still cannot find the registry key.
 SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY 
HKEY_LOCAL_MACHINE/SOFTWARE//NSIS/Unicode)




 From: Nicky Perian nickyper...@yahoo.com
To: cmake@cmake.org
Sent: Fri, September 17, 2010 12:59:08 PM
Subject: SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY)


I have tried many variations to the HKEY_LOCAL_MACHINE setting and am unable 
to 
get a run through of Cpack.
I know it must be something simple I am missing. 
I need help with this. 
I am on a windows 7 / 64bit machine. NSIS is unicode and installed in the 32 
bit 
program files directory.
Thanks,
CMakeLists.txt:
if (WINDOWS)
# build a CPack driven installer package
SET (CPACK_GENERATOR NSIS)
SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY  
HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/NSIS/Unicode)
include (InstallRequiredSystemLibraries)
include (CPack)
endif (WINDOWS)


CPackConfig.cmake: (snip)
SET(CPACK_BINARY_NSIS )
.
.
SET(CPACK_CMAKE_GENERATOR Visual Studio 8 2005)
.
.
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY 
HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/NSIS/Unicode)


Output:
C:\Phoenix\phoenix-work\indra\build-vc80cpack cpackconfig.cmake
CPack Error:  Cannot find NSIS registry value. This is usually caused by NSIS 
not
 being installed. Please install NSIS from http://nsis.sourceforge.net
CPack Error: Cannot initialize the generator NSIS


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake




  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 your project.

Next you can enable the compiler of choice with (replace g95 with the binary of 
your compiler)
SET(CMAKE_Fortran_COMPILER g95)
You can set this when you call cmake instead, like this
cmake -DCMAKE_Fortran_COMPILER=g95 path

Then you can continue setting Fortran specific flags based on compiler:
  if (CMAKE_Fortran_COMPILER MATCHES gfortran)
   set (CMAKE_Fortran_FLAGS_RELEASE  -g -funroll-loops -fno-range-check 
-fno-f2c -O2 )
   set (CMAKE_Fortran_FLAGS_DEBUG-fno-f2c -O0 -g )
   set (CMAKE_Fortran_LINK_FLAGS   ${CMAKE_Fortran_LINK_FLAGS} -static )
 elseif (CMAKE_Fortran_COMPILER_ID STREQUAL Intel)
...
 endif (CMAKE_Fortran_COMPILER MATCHES gfortran)

I hope this helps, not quite sure this was what you asked for? By the way, you 
need CMake 2.6.x or newer I believe, fortran support is quite limited (or 
non-existent?) in earlier versions.

Best Regards
Yngve

On Wednesday 22 September 2010 19:03:49 Michael Jackson wrote:
 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 Jackson  www.bluequartz.net
 Principal Software Engineer   mike.jack...@bluequartz.net
 BlueQuartz Software   Dayton, Ohio
 
 
 
 ___
 Powered by www.kitware.com
 
 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html
 
 Please keep messages on-topic and check the CMake FAQ at: 
 http://www.cmake.org/Wiki/CMake_FAQ
 
 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake
 
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 -funroll-loops -msse2
 
 If I use:
 
 set_target_properties(my_static_lib PROPERTIES COMPILE_FLAGS -O3 
 -std=f2003 -funroll-loops -msse2)
 or
 set_source_files_properties(${SRC_FILES} PROPERTIES COMPILE_FLAGS -O3 
 -std=f2003 -funroll-loops -msse2)
 
 where ${SRC_FILES} is the list of source files used to compile my static 
 library, the result is the same when starting the make process.
 
 So, in such a case is there a difference between those two functions ?

 
 Yes. The latter is if you need more fine-grained control (compile some files 
 with other flags than the rest).
 
  
 Another question I have is when applying one or the other function, this 
 will duplicate some of the compiler flags (e.g. O3). The only way I found 
 to avoid this is to do the following:
 
 set(CMAKE_Fortran_FLAGS_RELEASE  )  
 set_target_properties(crysfml PROPERTIES COMPILE_FLAGS -O3 -std=f2003 
 -funroll-loops -msse2)
 
 so everything looks as if by default the CMAKE_Fortran_FLAGS_RELEASE 
 variable was set to -O3 and then, the value stored in the COMPILE_FLAGS 
 variable was appended to it (so in that case -O3 + -O3 -std=f2003 
 -funroll-loops -msse2 giving -O3 -O3 -std=f2003 -funroll-loops -msse2). 
 Am I right ?

 
 Yes. RTFMing tells me:
 
 $ cmake --help-property COMPILE_FLAGS
 cmake version 2.8.2
  COMPILE_FLAGS
   Additional flags to use when compiling this target's sources.
 
   The COMPILE_FLAGS property sets additional compiler flags used to
   build sources within the target.  Use COMPILE_DEFINITIONS to pass
   additional preprocessor definitions
 
 So, it says that the flags are appended to the standard flags.
 
  
 thanks a lot
 
 Eric

 
 BTW: You shouldn't set -O3, -funroll-loops and -msse2 in COMPILE_FLAGS, 
 since those are optimization flags. You should set them when you run cmake 
 in CMAKE_Fortran_FLAGS_RELEASE.
 
 Michael
 
  
 
 thanks Michael fore the hint.
 
 So you mean that I should better write something like this if I really want 
 to reset the compiler flags for the different kind of build (Debug, Release 
 ...):
 
 if(CMAKE_BUILD_TYPE strequal Release)
 
 set(CMAKE_Fortran_FLAGS_RELEASE  )
 set_target_properties(crysfml PROPERTIES COMPILE_Fortran_FLAGS_RELEASE -O3 
 -std=f2003 -funroll-loops -msse2)
 
 elseif(CMAKE_BUILD_TYPE strequal Debug)
 
 set(CMAKE_Fortran_FLAGS_DEBUG  )  
 set_target_properties(crysfml PROPERTIES COMPILE_Fortran_FLAGS_DEBUG -O3 
 -std=f2003 -funroll-loops -msse2)
 
 end()
 
 instead of using the COMPILE_FLAGS ?
 
 Eric

I'd suggest to leave it to the user, don't set those flags in the 
CMakeLists.txt at all. If you absolutely must/want to, remove the conditionals, 
the variables themselves act as conditionals in the sense that CMake only 
uses them for the corresponding configuration type. Your approach breaks down 
for multi-config IDE's (such as Visual Studio, Xcode etc.), where 
CMAKE_BUILD_TYPE is irrelevant. Also, it's not a good idea to just set them 
like you do, since it's very surprising for users if their changes in the cache 
don't have any effect.

The only reasonable way to really override the default compiler flags is 
probably to provide your own Compiler/*-Fortran.cmake files and set 
CMAKE_MODULE_PATH accordingly before the project() (or enable_language()) call 
that activates Fortran support.

Michael

--
There is always a well-known solution to every human problem -- neat, 
plausible, and wrong.
H. L. Mencken



PGP.sig
Description: This is a digitally signed message part
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[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 linking, but
I think I've already given up on that and know I'll have to hand-list
every library. But still then I have these issues:

- on windows the libraries are often the .lib, but I need to locate the
associated DLL
- on linux I need to ensure I'm copying the actual file an not a symlink
- between debug/release I seem to have to list the files twice
- I'd prefer a cross-platform solution, I don't want to code the copying
once for each target platform

If anybody has a good resource, or can recommend some best practices,
that would be great.

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

BigTPoker - Poker fun and games

http://BigTPoker.com/

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.



signature.asc
Description: OpenPGP digital signature
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[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 before the solution can be closed.  I click OK and then I get a
dialog that says:

Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))

Any clues as to why this might be happening or how I can fix it?
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 the one project I want to build), and then I get a the build must be
 stopped before the solution can be closed.  I click OK and then I get a
 dialog that says:

 Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))

 Any clues as to why this might be happening or how I can fix it?

Just try building again. You will get comm errors if you take too long
to answer the prompt from when the macro first loaded. I see this
probably 1 time a week on VS2008 and VS2005. I do not have 2010 until
software licencing renews in two months.

John
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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
 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 before the solution can be closed.  I click OK and then I get
 a
  dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?

 Just try building again. You will get comm errors if you take too long
 to answer the prompt from when the macro first loaded. I see this
 probably 1 time a week on VS2008 and VS2005. I do not have 2010 until
 software licencing renews in two months.

 John


Yeah, I've also seen this timeout before in VS2008, but I promise you I
clicked the button as soon as it came up so this isn't the issue.  It also
does it every single time.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 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 before the solution can be closed.  I click OK and then I get a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


I get the ugly error message, and I have to click reload 70+ times.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 Wednesday, September 22, 2010, 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 the one project I want to build), and then I get a the build must be
 stopped before the solution can be closed.  I click OK and then I get a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


 I get the ugly error message, and I have to click reload 70+ times.

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



It would appear that Microsoft has changed Visual Studio moving to the 2010
edition such that our macro-solution-reloading magic no longer works
properly. I have not yet found a way around this: we used to be able to
cancel the build that was in progress, reload stuff, and then start another
build in VS 2008 and earlier. It does not appear possible with VS 2010.

I know I'll be heartily flamed for even suggesting this, but  the way I
work with VS is to shut it down (or at least close the solution file), run
cmake or cmake-gui by hand outside of Visual Studio, and then open up the
sln file again with VS. This avoids the problem you're reporting, but I
realize it is not ideal.

I welcome any suggestions for how to get this stuff to work again with VS
2010. I'm stumped on it...


Thanks,
David
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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  CMake does not need to re-run because
C:/code/yyy/build-32-vs10-c30/CMakeFiles/generate.stamp is up-to-date.
1  CMake does not need to re-run because
C:/code/yyy/build-32-vs10-c30/src/CMakeFiles/generate.stamp is up-to-date.
1  CMake is re-running because
C:/code/yyy/build-32-vs10-c30/src/hhh/CMakeFiles/generate.stamp is
out-of-date.
1the file 'C:/code/yyy/src/hhh/CMakeLists.txt'
1is newer than
'C:/code/yyy/build-32-vs10-c30/src/hhh/CMakeFiles/generate.stamp.depend'
1result='-1'
1  -- Configuring done
1  -- Generating done
1  -- Build files have been written to: C:/code/yyy/build-32-vs10-c30
2 Build started: Project hhh ---
...
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 operation aborted dialog, it seems the .sln is
 reloaded correctly.

 On Wednesday, September 22, 2010, 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 the one project I want to build), and then I get a the build must be
 stopped before the solution can be closed.  I click OK and then I get a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


 I get the ugly error message, and I have to click reload 70+ times.

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



 It would appear that Microsoft has changed Visual Studio moving to the 2010
 edition such that our macro-solution-reloading magic no longer works
 properly. I have not yet found a way around this: we used to be able to
 cancel the build that was in progress, reload stuff, and then start another
 build in VS 2008 and earlier. It does not appear possible with VS 2010.

 I know I'll be heartily flamed for even suggesting this, but  the way I
 work with VS is to shut it down (or at least close the solution file), run
 cmake or cmake-gui by hand outside of Visual Studio, and then open up the
 sln file again with VS. This avoids the problem you're reporting, but I
 realize it is not ideal.

 I welcome any suggestions for how to get this stuff to work again with VS
 2010. I'm stumped on it...


 Thanks,
 David


Doh!  This is really unfortunate, as my FindCUDA script causes a lot of
reloading as file level build dependencies are computed and reloaded into
the project files.  This macro was truly one of the things that made VS
development with CMake a great combination.

Have you tried filing a bug with Microsoft?

James
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[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
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/rayDifferentials/rayDifferentials.vcxproj
  Project8234D0A0-8492-45AE-9811-07A69A2A3C48/Project
/ProjectReference
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/ZERO_CHECK.vcxproj
  ProjectF3C313C6-58A0-45F6-AEDE-8759DE55B380/Project
/ProjectReference
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/stats/stats.vcxproj
  Project9ECE185F-2E06-4071-A9DC-384AB3E41A16/Project
/ProjectReference

Here's after I run CMake's configure/generate again:

  ItemGroup
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/ZERO_CHECK.vcxproj
  ProjectF3C313C6-58A0-45F6-AEDE-8759DE55B380/Project
/ProjectReference
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/optix.vcxproj
  ProjectE3FFDD5A-79F8-453C-A71C-A22C29C5C7B2/Project
/ProjectReference
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/PTXStitch/ptxstitch.vcxproj
  Project2864437D-76FD-45D5-B863-DD3953FEFE28/Project
/ProjectReference
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/rtu/optixu.vcxproj
  Project977DB006-F5A4-400A-9FF6-098DC4AA76D2/Project
/ProjectReference
ProjectReference
Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/CUDPP/cudpp.vcxproj
  Project3C1C078D-F921-447E-B768-530908594768/Project

Every subsequent run of CMake changes the order. This doesn't happen when
generating VS 2009 projects, so I imagine this is somehow related to the
VS2010 generator.

James
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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:

 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 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 before the solution can be closed.  I click OK and then I get a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


 I get the ugly error message, and I have to click reload 70+ times.

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



 It would appear that Microsoft has changed Visual Studio moving to the
 2010 edition such that our macro-solution-reloading magic no longer works
 properly. I have not yet found a way around this: we used to be able to
 cancel the build that was in progress, reload stuff, and then start another
 build in VS 2008 and earlier. It does not appear possible with VS 2010.

 I know I'll be heartily flamed for even suggesting this, but  the way
 I work with VS is to shut it down (or at least close the solution file), run
 cmake or cmake-gui by hand outside of Visual Studio, and then open up the
 sln file again with VS. This avoids the problem you're reporting, but I
 realize it is not ideal.

 I welcome any suggestions for how to get this stuff to work again with VS
 2010. I'm stumped on it...


 Thanks,
 David


 Doh!  This is really unfortunate, as my FindCUDA script causes a lot of
 reloading as file level build dependencies are computed and reloaded into
 the project files.  This macro was truly one of the things that made VS
 development with CMake a great combination.

 Have you tried filing a bug with Microsoft?



Not yet. But that's a grand idea. I'll try to distill it down into the
simplest repro steps using VS9 and VS10, file a bug with that, and see how
they respond.

I'll keep you posted.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/superellipsoid/superellipsoid.vcxproj
   Project7CCB65D0-CD84-4FA6-AC9A-A69EA772F224/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/rayDifferentials/rayDifferentials.vcxproj
   Project8234D0A0-8492-45AE-9811-07A69A2A3C48/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/ZERO_CHECK.vcxproj
   ProjectF3C313C6-58A0-45F6-AEDE-8759DE55B380/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/stats/stats.vcxproj
   Project9ECE185F-2E06-4071-A9DC-384AB3E41A16/Project
 /ProjectReference

 Here's after I run CMake's configure/generate again:

   ItemGroup
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/ZERO_CHECK.vcxproj
   ProjectF3C313C6-58A0-45F6-AEDE-8759DE55B380/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/optix.vcxproj
   ProjectE3FFDD5A-79F8-453C-A71C-A22C29C5C7B2/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/PTXStitch/ptxstitch.vcxproj
   Project2864437D-76FD-45D5-B863-DD3953FEFE28/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/rtu/optixu.vcxproj
   Project977DB006-F5A4-400A-9FF6-098DC4AA76D2/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/CUDPP/cudpp.vcxproj
   Project3C1C078D-F921-447E-B768-530908594768/Project

 Every subsequent run of CMake changes the order. This doesn't happen when
 generating VS 2009 projects, so I imagine this is somehow related to the
 VS2010 generator.

 James

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 jamesbig...@gmail.comwrote:

 On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote:

 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 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 before the solution can be closed.  I click OK and then I get a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


 I get the ugly error message, and I have to click reload 70+ times.

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



 It would appear that Microsoft has changed Visual Studio moving to the
 2010 edition such that our macro-solution-reloading magic no longer works
 properly. I have not yet found a way around this: we used to be able to
 cancel the build that was in progress, reload stuff, and then start another
 build in VS 2008 and earlier. It does not appear possible with VS 2010.

 I know I'll be heartily flamed for even suggesting this, but  the way
 I work with VS is to shut it down (or at least close the solution file), run
 cmake or cmake-gui by hand outside of Visual Studio, and then open up the
 sln file again with VS. This avoids the problem you're reporting, but I
 realize it is not ideal.

 I welcome any suggestions for how to get this stuff to work again with VS
 2010. I'm stumped on it...


 Thanks,
 David


 Doh!  This is really unfortunate, as my FindCUDA script causes a lot of
 reloading as file level build dependencies are computed and reloaded into
 the project files.  This macro was truly one of the things that made VS
 development with CMake a great combination.

 Have you tried filing a bug with Microsoft?



 Not yet. But that's a grand idea. I'll try to distill it down into the
 simplest repro steps using VS9 and VS10, file a bug with that, and see how
 they respond.

 I'll keep you posted.


Thanks!  Is there a mantis bug that is tracking this issue?

I'm curios to know if this is an API issue or perhaps simply a bug.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 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:

 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 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 before the solution can be closed.  I click OK and then I get 
 a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


 I get the ugly error message, and I have to click reload 70+ times.

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



 It would appear that Microsoft has changed Visual Studio moving to the
 2010 edition such that our macro-solution-reloading magic no longer works
 properly. I have not yet found a way around this: we used to be able to
 cancel the build that was in progress, reload stuff, and then start another
 build in VS 2008 and earlier. It does not appear possible with VS 2010.

 I know I'll be heartily flamed for even suggesting this, but  the
 way I work with VS is to shut it down (or at least close the solution 
 file),
 run cmake or cmake-gui by hand outside of Visual Studio, and then open up
 the sln file again with VS. This avoids the problem you're reporting, but I
 realize it is not ideal.

 I welcome any suggestions for how to get this stuff to work again with
 VS 2010. I'm stumped on it...


 Thanks,
 David


 Doh!  This is really unfortunate, as my FindCUDA script causes a lot of
 reloading as file level build dependencies are computed and reloaded into
 the project files.  This macro was truly one of the things that made VS
 development with CMake a great combination.

 Have you tried filing a bug with Microsoft?



 Not yet. But that's a grand idea. I'll try to distill it down into the
 simplest repro steps using VS9 and VS10, file a bug with that, and see how
 they respond.

 I'll keep you posted.


 Thanks!  Is there a mantis bug that is tracking this issue?

 I'm curios to know if this is an API issue or perhaps simply a bug.


No mantis issue on this that I am aware of...
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[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

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 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.comwrote:

 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
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/rayDifferentials/rayDifferentials.vcxproj
   Project8234D0A0-8492-45AE-9811-07A69A2A3C48/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/ZERO_CHECK.vcxproj
   ProjectF3C313C6-58A0-45F6-AEDE-8759DE55B380/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/samples/stats/stats.vcxproj
   Project9ECE185F-2E06-4071-A9DC-384AB3E41A16/Project
 /ProjectReference

 Here's after I run CMake's configure/generate again:

   ItemGroup
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/ZERO_CHECK.vcxproj
   ProjectF3C313C6-58A0-45F6-AEDE-8759DE55B380/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/optix.vcxproj
   ProjectE3FFDD5A-79F8-453C-A71C-A22C29C5C7B2/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/PTXStitch/ptxstitch.vcxproj
   Project2864437D-76FD-45D5-B863-DD3953FEFE28/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/rtu/optixu.vcxproj
   Project977DB006-F5A4-400A-9FF6-098DC4AA76D2/Project
 /ProjectReference
 ProjectReference
 Include=C:/code/rtsdk/rtmain/build-32-vs10-c30/src/CUDPP/cudpp.vcxproj
   Project3C1C078D-F921-447E-B768-530908594768/Project

 Every subsequent run of CMake changes the order. This doesn't happen when
 generating VS 2009 projects, so I imagine this is somehow related to the
 VS2010 generator.

 James

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 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 
 jamesbig...@gmail.comwrote:

 On Wed, Sep 22, 2010 at 2:29 PM, Pedro d'Aquino bud...@gmail.comwrote:

 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 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 before the solution can be closed.  I click OK and then I 
 get a
 dialog that says:
 
  Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
 
  Any clues as to why this might be happening or how I can fix it?
 


 I get the ugly error message, and I have to click reload 70+ times.

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



 It would appear that Microsoft has changed Visual Studio moving to the
 2010 edition such that our macro-solution-reloading magic no longer works
 properly. I have not yet found a way around this: we used to be able to
 cancel the build that was in progress, reload stuff, and then start 
 another
 build in VS 2008 and earlier. It does not appear possible with VS 2010.

 I know I'll be heartily flamed for even suggesting this, but  the
 way I work with VS is to shut it down (or at least close the solution 
 file),
 run cmake or cmake-gui by hand outside of Visual Studio, and then open up
 the sln file again with VS. This avoids the problem you're reporting, but 
 I
 realize it is not ideal.

 I welcome any suggestions for how to get this stuff to work again with
 VS 2010. I'm stumped on it...


 Thanks,
 David


 Doh!  This is really unfortunate, as my FindCUDA script causes a lot of
 reloading as file level build dependencies are computed and reloaded into
 the project files.  This macro was truly one of the things that made VS
 development with CMake a great combination.

 Have you tried filing a bug with Microsoft?



 Not yet. But that's a grand idea. I'll try to distill it down into the
 simplest repro steps using VS9 and VS10, file a bug with that, and see how
 they respond.

 I'll keep you posted.


 Thanks!  Is there a mantis bug that is tracking this issue?

 I'm curios to know if this is an API issue or perhaps simply a bug.


 No mantis issue on this that I am aware of...


I just made one:
http://public.kitware.com/Bug/view.php?id=11258

If the plugin is broken, should it be disabled?
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 its own ccmake build as well - you will need to 
find the ccmake binary of the appropriate version.  (It's not just a 
front-end, it's an integrated app)


Hope this helps!

Ryan

--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpav...@iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 I'd like to work from the same variables I use for linking, but
I think I've already given up on that and know I'll have to hand-list
every library. But still then I have these issues:

- on windows the libraries are often the .lib, but I need to locate the
associated DLL
- on linux I need to ensure I'm copying the actual file an not a symlink
- between debug/release I seem to have to list the files twice
- I'd prefer a cross-platform solution, I don't want to code the copying
once for each target platform

If anybody has a good resource, or can recommend some best practices,
that would be great.


Use CMake and CPack?  See the wiki, and elsewhere on the internet.

Ryan

--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpav...@iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 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 its own ccmake build as well - you will need to find
 the ccmake binary of the appropriate version.  (It's not just a front-end,
 it's an integrated app)

 Hope this helps!

 Ryan

 --
 Ryan Pavlik
 HCI Graduate Student
 Virtual Reality Applications Center
 Iowa State University

 rpav...@iastate.edu
 http://academic.cleardefinition.com
 Internal VRAC/HCI Site: http://tinyurl.com/rpavlik

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 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 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 its own ccmake build as well - you will need to find
 the ccmake binary of the appropriate version.  (It's not just a front-end,
 it's an integrated app)

 Hope this helps!

 Ryan

 --
 Ryan Pavlik
 HCI Graduate Student
 Virtual Reality Applications Center
 Iowa State University

 rpav...@iastate.edu
 http://academic.cleardefinition.com
 Internal VRAC/HCI Site: http://tinyurl.com/rpavlik

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[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  2f665d5d1f9b4af3f9ece89565ba71bbc56ca05b (commit)
  from  d65a91dd4546a5ae10d4dcfe1598f3dcd55c6f48 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6a72c7e9ad4ed1b5143ee4293aebcb097d2d548b
commit 6a72c7e9ad4ed1b5143ee4293aebcb097d2d548b
Merge: d65a91d 2f665d5
Author: Brad King brad.k...@kitware.com
AuthorDate: Wed Sep 22 13:51:52 2010 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Wed Sep 22 13:51:52 2010 -0400

Merge topic 'find-python2.7'

2f665d5 FindPythonInterp: Look for python2.7 interpreter


---

Summary of changes:
 Modules/FindPythonInterp.cmake |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[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  2412d9bc0eb2a70defe860672ad3f0de60bae28d (commit)
  from  89884a26fd3cb7804f8add294e77430149e1004b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a60241913cfd5e0d3005b2405b03aacd78c2ba99
commit a60241913cfd5e0d3005b2405b03aacd78c2ba99
Merge: 89884a2 2412d9b
Author: Brad King brad.k...@kitware.com
AuthorDate: Wed Sep 22 13:52:10 2010 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Wed Sep 22 13:52:10 2010 -0400

Merge topic 'cygwin-system-processor'

2412d9b Use 'uname -m' for processor on Cygwin (#10774)


---

Summary of changes:
 Modules/CMakeDetermineSystem.cmake |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[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  5f05a3c25e1480648f46c9ccbf775225f9e8e32d (commit)
   via  2d9bb3325f6b1155bc7848f1f666e79c37bfa253 (commit)
  from  a60241913cfd5e0d3005b2405b03aacd78c2ba99 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=14d5ea7438d4da9aa8c50323418f4ad1c4facc9a
commit 14d5ea7438d4da9aa8c50323418f4ad1c4facc9a
Merge: a602419 5f05a3c
Author: Brad King brad.k...@kitware.com
AuthorDate: Wed Sep 22 13:52:24 2010 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Wed Sep 22 13:52:24 2010 -0400

Merge topic 'mingw-long-object-lists'

5f05a3c MinGW: Support long object file lists
2d9bb33 Evaluate OBJECT_DIR rule variable for executables


---

Summary of changes:
 Modules/Platform/Windows-GNU-Fortran.cmake |1 -
 Modules/Platform/Windows-GNU.cmake |   35 +++-
 Source/cmMakefileExecutableTargetGenerator.cxx |7 +
 3 files changed, 41 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[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  775697d5f5e8812dc642d1e21e7bc5405df943cd (commit)
  from  14d5ea7438d4da9aa8c50323418f4ad1c4facc9a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dda5bbd7c9de31ea5da8463a3ae3a73830e0d7c5
commit dda5bbd7c9de31ea5da8463a3ae3a73830e0d7c5
Merge: 14d5ea7 775697d
Author: Brad King brad.k...@kitware.com
AuthorDate: Wed Sep 22 13:53:25 2010 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Wed Sep 22 13:53:25 2010 -0400

Merge topic 'fix_windows7_untar'

775697d Add a delay after untar on windows to make external project work on 
windows 7


---

Summary of changes:
 Source/cmake.cxx |   18 ++
 1 files changed, 18 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[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  4a323bde0cc23a425ee6589c13bee3b9644942c4 (commit)
  from  dda5bbd7c9de31ea5da8463a3ae3a73830e0d7c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f
commit 8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f
Merge: dda5bbd 4a323bd
Author: Brad King brad.k...@kitware.com
AuthorDate: Wed Sep 22 13:53:46 2010 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Wed Sep 22 13:53:46 2010 -0400

Merge topic 'fix-11026'

4a323bd Honor MAKECOMMAND value saved in cache (#11026)


---

Summary of changes:
 Modules/CTest.cmake |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[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  8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f (commit)
   via  dda5bbd7c9de31ea5da8463a3ae3a73830e0d7c5 (commit)
   via  14d5ea7438d4da9aa8c50323418f4ad1c4facc9a (commit)
   via  a60241913cfd5e0d3005b2405b03aacd78c2ba99 (commit)
   via  89884a26fd3cb7804f8add294e77430149e1004b (commit)
   via  6a72c7e9ad4ed1b5143ee4293aebcb097d2d548b (commit)
   via  d65a91dd4546a5ae10d4dcfe1598f3dcd55c6f48 (commit)
  from  25fa779ceb16ce2f0c2d92b02ac8267285f7dccb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6a29e78d1b3471397b307c8044fab752d6b60ebb
commit 6a29e78d1b3471397b307c8044fab752d6b60ebb
Merge: 25fa779 8150dc4
Author: Brad King brad.k...@kitware.com
AuthorDate: Wed Sep 22 13:54:19 2010 -0400
Commit: Brad King brad.k...@kitware.com
CommitDate: Wed Sep 22 13:54:19 2010 -0400

Merge branch 'master' into next


---

Summary of changes:
 Source/kwsys/kwsysDateStamp.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[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  8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a9bf98b2a6fc5a0f8b7023430779f74fcd0fa5c9
commit a9bf98b2a6fc5a0f8b7023430779f74fcd0fa5c9
Author: KWSys Robot kwro...@kitware.com
AuthorDate: Thu Sep 23 00:01:04 2010 -0400
Commit: KWSys Robot kwro...@kitware.com
CommitDate: Thu Sep 23 00:10:11 2010 -0400

KWSys Nightly Date Stamp

diff --git a/Source/kwsys/kwsysDateStamp.cmake 
b/Source/kwsys/kwsysDateStamp.cmake
index f6525f1..7694753 100644
--- a/Source/kwsys/kwsysDateStamp.cmake
+++ b/Source/kwsys/kwsysDateStamp.cmake
@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR  2010)
 SET(KWSYS_DATE_STAMP_MONTH 09)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   22)
+SET(KWSYS_DATE_STAMP_DAY   23)

---

Summary of changes:
 Source/kwsys/kwsysDateStamp.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits