Re: [CMake] CPack general question and example

2010-11-16 Thread Eric Noulard
2010/11/16 David Doria : > Great, it's working.  The only thing that was required was: > > SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "David Doria") > > Here is the working example: > http://www.cmake.org/Wiki/CMake/CPack/Examples/Linux/DEB > > The page you sent > (http://www.vtk.org/Wiki/CMake:CPackPacka

Re: [CMake] CPack general question and example

2010-11-16 Thread David Doria
Great, it's working. The only thing that was required was: SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "David Doria") Here is the working example: http://www.cmake.org/Wiki/CMake/CPack/Examples/Linux/DEB The page you sent (http://www.vtk.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29) has a

Re: [CMake] CPack general question and example

2010-11-15 Thread Reinhard Thies
Hi David, On Tuesday 16 November 2010 03:54:57 David Doria wrote: > > You need INSTALL commands for everything you want to be in the package > > > > For your example: > > > > ADD_EXECUTABLE(DistanceBetweenPoints DistanceBetweenPoints.cxx) > > INSTALL(TARGETS DistanceBetweenPoints DESTINATION bin

Re: [CMake] CPack general question and example

2010-11-15 Thread Andreas Mohr
On Mon, Nov 15, 2010 at 05:57:04PM -0500, cmake-requ...@cmake.org wrote: > Message: 2 > Date: Mon, 15 Nov 2010 16:37:05 -0500 > From: David Doria > Subject: [CMake] CPack general question and example > To: cmake@cmake.org > Message-ID: > > Content-Type: text/p

Re: [CMake] CPack general question and example

2010-11-15 Thread David Doria
> You need  INSTALL commands for everything you want to be in the package > > For your example: > > ADD_EXECUTABLE(DistanceBetweenPoints DistanceBetweenPoints.cxx) > INSTALL(TARGETS DistanceBetweenPoints DESTINATION bin) # Add this for CPack > to work > > Then both "make install" and "make package

Re: [CMake] CPack general question and example

2010-11-15 Thread Vladislav Vaintroub
> -Original Message- > From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of > David Doria > Sent: Monday, November 15, 2010 10:37 PM > To: cmake@cmake.org > Subject: [CMake] CPack general question and example > > I just heard about CPack

Re: [CMake] CPack general question and example

2010-11-15 Thread Eric Noulard
2010/11/15 David Doria : > I just heard about CPack and started playing with it. Which version of CMake/CPack are you using? > I tried to make an RPM of a simple VTK program: > > http://www.cmake.org/Wiki/CMake/CPackExample > > When I run 'make package', I get an error: > > CPack Error: Problem c

[CMake] CPack general question and example

2010-11-15 Thread David Doria
I just heard about CPack and started playing with it. I tried to make an RPM of a simple VTK program: http://www.cmake.org/Wiki/CMake/CPackExample When I run 'make package', I get an error: CPack Error: Problem copying the package: /home/doriad/CPackTest/bin/_CPack_Packages/Linux/RPM/DistanceBet