[CMake] file INSTALL cannot set modification time on itkImage.h on windows 7 install

2010-05-19 Thread Hugh Sorby
pertinent part of error message: CMake Error at Code/Common/cmake_install.cmake:39 (FILE): file INSTALL cannot set modification time on "x86-windows/include/InsightToolkit/Common/itkImage.h" I am getting this error when I am installing some libraries that my project depends on. This is happ

Re: [CMake] How to handle git branches

2010-05-19 Thread Andreas Pakulat
On 19.05.10 09:11:24, Michael Hertling wrote: > On 05/18/2010 09:18 PM, Andreas Pakulat wrote: > > On 18.05.10 20:59:50, Michael Wild wrote: > >> On 18. May, 2010, at 20:52 , Andreas Pakulat wrote: > >>> I've recently bumped into a few problems with my usage of cmake on a > >>> git-hosted project a

Re: [CMake] How to handle git branches

2010-05-19 Thread Alexander Neundorf
On Tuesday 18 May 2010, Andreas Pakulat wrote: > Hi, > > I've recently bumped into a few problems with my usage of cmake on a > git-hosted project and am wondering what others are doing in such cases. > > The setup is as follows: The project's master branch has its dedicated > builddir. Now when wo

Re: [CMake] CMAKE -- MAKE problem -- TARGET_LINK_LIBRARIES related

2010-05-19 Thread Alexander Neundorf
On Tuesday 18 May 2010, Lucian Goron wrote: > this is my problem.. it tells me that it can not find the levmar package: > > luc...@schwarz:~/work/ransac$ make > Linking CXX executable TestAcquireGPS > /usr/bin/ld: cannot find -llevmar > collect2: ld returned 1 exit status > make[2]: *** [TestAcquir

Re: [CMake] How does CPACK decide what goes into release packages?

2010-05-19 Thread Alexander Neundorf
On Tuesday 18 May 2010, kent williams wrote: > Platform: OS X 10.5.8. We also want to support Linux and Windows, but > are doing OS X first because it's usally the crankiest to get working. > > cpack version 2.9.20100511 > > Using PackageMaker and Tar for generators. > > I don't have it all worked

Re: [CMake] multiple packages via CPack in one project ?

2010-05-19 Thread Alexander Neundorf
Hi, On Monday 17 May 2010, Dr. Stefan Sablatnög wrote: > Hi everybody, > > Is it possible to create multiple different packages from one > build process using CPack? I think currently this is not supported (but it would be nice to have). You may put it in the bug tracker as feature request at ht

Re: [CMake] Chaining Dependencies

2010-05-19 Thread Bill Hoffman
On 5/19/2010 2:31 PM, aaron.mead...@thomsonreuters.com wrote: *Hi all. I hope this isn’t a terribly obvious question that I just can’t find in the documentation..* * * *If I have an executable ‘A’ that depends on a static library ‘B’, and static library ‘B’ depends on static library ‘C’, can I

Re: [CMake] Chaining Dependencies

2010-05-19 Thread aaron.meadows
Ah.. think I've answered my own question. Looks like I need to use TARGET_LINK_LIBRARIES() instead of ADD_DEPENDENCIES(). Aaron C. Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Meadows, Aaron C. Sent: Wednesday, May 19,

[CMake] Chaining Dependencies

2010-05-19 Thread aaron.meadows
Hi all. I hope this isn't a terribly obvious question that I just can't find in the documentation.. If I have an executable 'A' that depends on a static library 'B', and static library 'B' depends on static library 'C', can I capture this dependency as part of the CMakeLists.txt for static lib

Re: [CMake] Setting "Force Symbol Reference" field in Visual Studio

2010-05-19 Thread Michael Wild
On 19. May, 2010, at 18:52 , Felipe Sodré Silva wrote: > Hello all, > > I need to write a CMakeLists for a project in Visual Studio, which needs to > have the Force Symbol Reference field set to a given value. How can I > specify this value in CMakeLists.txt ? > > Best regards, > > Felipe If

[CMake] Setting "Force Symbol Reference" field in Visual Studio

2010-05-19 Thread Felipe Sodré Silva
Hello all, I need to write a CMakeLists for a project in Visual Studio, which needs to have the Force Symbol Reference field set to a given value. How can I specify this value in CMakeLists.txt ? Best regards, Felipe ___ Powered by www.kitware.com Vis

[CMake] openmp is VS IDE

2010-05-19 Thread Hicham Mouline
Hello, Cmake 2.8.0 doesn't generate the required entry in the VC9 project files to enable openmp at the IDE level. It does cause a little confusion. The /openmp flag is nevertheless added and the compilation succeeds. There must be a low prio ticket that I couldn't find. rds, _

Re: [CMake] cmake ld fails

2010-05-19 Thread Eric Noulard
2010/5/18 R. Bryn Fenwick : > Hi, > > I have received some code that works on one system, but is failing to work > for me. Any suggestions how to debug this would be greatly appreciated. > > I think that I am setting everything up correctly however it appears to need > some hacks. [...] > ../libs

Re: [CMake] How to handle git branches

2010-05-19 Thread Michael Hertling
On 05/18/2010 09:18 PM, Andreas Pakulat wrote: > On 18.05.10 20:59:50, Michael Wild wrote: >> On 18. May, 2010, at 20:52 , Andreas Pakulat wrote: >>> I've recently bumped into a few problems with my usage of cmake on a >>> git-hosted project and am wondering what others are doing in such cases. >>>