Re: [CMake] Small, complete CPack example? re: CPACK_INCLUDE_TOPLEVEL_DIRECTORY

2010-08-06 Thread Chris Wolf
On 8/6/10 12:57 PM, Chris Wolf wrote: > > > On 8/6/10 7:22 AM, Eric Noulard wrote: >> 2010/8/6 Chris Wolf : >>> >>> e.g for : install(TARGETS usb LIBRARY DESTINATION lib) >>> >>> (where project name is "libusb") >>> >>> The CPack-generated TGZ archive will contain: >>> libusb-0.1.1-Darwin/lib/

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Chris Wolf
On 8/6/10 9:46 AM, Bill Hoffman wrote: > There is one in the Tutorial: > > http://www.cmake.org/cmake/help/cmake_tutorial.html > > -Bill I did look at that when I first started, but this tutorial does not install the library (just the executable and headers). Right now, I'm focused on a proje

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Chris Wolf
On 8/6/10 7:22 AM, Eric Noulard wrote: > 2010/8/6 Chris Wolf : >> >> e.g for : install(TARGETS usb LIBRARY DESTINATION lib) >> >> (where project name is "libusb") >> >> The CPack-generated TGZ archive will contain: >> libusb-0.1.1-Darwin/lib/libusb.dylib >> >> ...this, regardless of the setting

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Bill Hoffman
There is one in the Tutorial: http://www.cmake.org/cmake/help/cmake_tutorial.html -Bill ___ 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 ch

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Eric Noulard
2010/8/6 Chris Wolf : > > e.g for :  install(TARGETS usb LIBRARY DESTINATION lib) > > (where project name is "libusb") > > The CPack-generated TGZ archive will contain: > libusb-0.1.1-Darwin/lib/libusb.dylib > > ...this, regardless of the setting of CPACK_INCLUDE_TOPLEVEL_DIRECTORY! > > (I would ha

Re: [CMake] Small, complete CPack example?

2010-08-05 Thread Chris Wolf
On 8/5/10 6:22 PM, Eric Noulard wrote: > 2010/8/6 Chris Wolf : >> >> Unfortunately, at first, I din't see how your example is different from >> the parts of my CMakeList.txt I sent in my last post. >> >> Then I noticed that your "install(TARGETS..." command had a relative >> path for "DESTINATION

Re: [CMake] Small, complete CPack example?

2010-08-05 Thread Eric Noulard
2010/8/6 Chris Wolf : > > Unfortunately, at first, I din't see how your example is different from > the parts of my CMakeList.txt I sent in my last post. > > Then I noticed that your "install(TARGETS..." command had a relative > path for "DESTINATION", whereas mine had an absolute path.  When > I c

Re: [CMake] Small, complete CPack example?

2010-08-05 Thread Chris Wolf
On 8/5/10 5:15 PM, Olaf van der Spek wrote: > On Thu, Aug 5, 2010 at 11:06 PM, Chris Wolf wrote: >> I'm looking all over for an end-to-end basic example of using CPack >> to create a package with a single shared library target. It can >> even be with the TGZ generator. > > cmake_minimum_requir

Re: [CMake] Small, complete CPack example?

2010-08-05 Thread Olaf van der Spek
On Thu, Aug 5, 2010 at 11:06 PM, Chris Wolf wrote: > I'm looking all over for an end-to-end basic example of using CPack > to create a package with a single shared library target.  It can > even be with the TGZ generator. cmake_minimum_required(VERSION 2.4) set(CMAKE_BUILD_TYPE release) include_d

[CMake] Small, complete CPack example?

2010-08-05 Thread Chris Wolf
I'm looking all over for an end-to-end basic example of using CPack to create a package with a single shared library target. It can even be with the TGZ generator. I already checked these pages: http://www.cmake.org/cmake/help/cpack-2-8-docs.html#see:FrequentlyAskedQuestions http://www.itk.org/W