[CMake] ExternalProject_Add and Boost

2012-06-17 Thread Knox, Kent
Hi all~ I have been experimenting in my project with using ExternalProject_Add. My goal is to make our build process more automated, with less headache to get up and started developing on a fresh system. I decided that boost would be a great dependency to automate, which I successfully comple

Re: [CMake] cpack DEB generator docs

2012-06-17 Thread Eric Noulard
2012/6/18 Doug : > Hm... I can't edit the wiki myself without going through the process of > getting an account. Then you should get an account :-) > Would it be possible to add just a note to this page: > http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29 I did it at the t

[CMake] cpack DEB generator docs

2012-06-17 Thread Doug
Hm... I can't edit the wiki myself without going through the process of getting an account. Would it be possible to add just a note to this page: http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29 Some of the supported options are not listed. These are probably seldom used

Re: [CMake] Calling NMake from CMake

2012-06-17 Thread David Cole
You could use: BUILD_COMMAND nmake /f makefile.vc BUILD_IN_SOURCE 1 in your ExternalProject_Add call. "nmake" is already available from within the Visual Studio environment. Of course, if your project is cross-platform, you'll have to conditionalize this so that it only happens when using a

Re: [CMake] cmake as pkg-config replacement has problems?

2012-06-17 Thread Alexander Neundorf
On Saturday 16 June 2012, Hendrik Sattler wrote: > Hi, > > I try the following commands with my projects config file. It is not > installed but the build tree is registered with export(TARGET). > > $ cmake -DNAME=OpenObex -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE > --find-package -I/home/hend

Re: [CMake] Corrupt object files bootstrapping cmake on x86_64 Synology

2012-06-17 Thread Vicne Vicne
Hi, Replying to self as I finally managed to build. I'm sharing here in case others run into similar same problem. Obviously, there was something wrong with my build system, so I removed the gcc and optware-devel packages, reinstalled them, then rebooted the NAS, and bootstrap suceeded. I don't u

Re: [CMake] help with shared-lib make failure

2012-06-17 Thread luxInteg
On Sunday 17 June 2012 09:34:29 luxInteg wrote: > On Sunday 17 June 2012 08:35:07 Andreas Naumann wrote: > > thanks for your response the compile output i below: > as a update: The previous posting covered an attempt to use the already-generated static- library to make a shared library. This

Re: [CMake] help with shared-lib make failure

2012-06-17 Thread luxInteg
On Sunday 17 June 2012 08:35:07 Andreas Naumann wrote: > Am 17.06.2012 01:39, schrieb luxInteg: > > On Saturday 16 June 2012 09:45:56 luxInteg wrote: > >> Greetings, > >> > >> Its been about 1 year since since I had a go at learning cmake. > >> My current setup has these:- OS 64bit(AMD) cblfs lin

Re: [CMake] help with shared-lib make failure

2012-06-17 Thread Andreas Naumann
Am 17.06.2012 01:39, schrieb luxInteg: On Saturday 16 June 2012 09:45:56 luxInteg wrote: Greetings, Its been about 1 year since since I had a go at learning cmake. My current setup has these:- OS 64bit(AMD) cblfs linux, gcc-4.4.2, cmake-2.8.7 This is my current problem: My project has a