Changes between Version 15 and Version 16 of Community/Packaging

Show
Ignore:
Timestamp:
01/31/09 16:04:28 (5 years ago)
Author:
helsing72@… (IP: 81.216.128.165)
Comment:

Added a short intro to CPack. Added links to 7zip CMake/CPack references

Legend:

Unmodified
Added
Removed
Modified
  • Community/Packaging

    v15 v16  
    1 = CPack support in the OpenSceneGraph source tree = 
     1= Packaging OpenSceneGraph = 
    22[[TracNav(TracNav/SupportTOC)]] 
    33 
     4== About CPack == 
     5Quote from the cmake website 
     6  CPack is a powerful, easy to use, cross-platform software packaging tool distributed with CMake since version 2.4.2. It uses the generators concept from CMake, to abstract package generation on specific platforms, and it can be used with or without CMake. 
     7 
     8See also [wiki:Build/CMake CMake] and http://www.cmake.org/Wiki/CMake 
     9 
     10= CPack support in the OpenSceneGraph source tree = 
     11Using either a simple configuration file or the CMake module, a complex project can be packaged into an installer.  
    412The OpenSceneGraph build system can generate packaging targets for you if you have cmake version 2.6.0 or higher. Versions of cmake from 2.6.1 works better in that it can generate packaging targets for the non-standard plugins (e.g. vnc, dae (COLLADA), vrml...). 
    513To enable generation of package targets run cmake with -DBUILD_PACKAGES=ON or check to box next to BUILD_PACKAGES in cmake-gui.  
     
    917Targets for the following packages will (at least) be generated: 
    1018||'''Package Name'''||'''Contents'''|| 
    11 ||libopenthreads||The OpenThreads library. On windows building shared binaries it contains the dll|| 
    12 ||libopenthreads-dev||OpenThreads headers. If building static binaries this package includes the library. On windows and building shared binaries this package contains the link library|| 
     19||libopenthreads||The !OpenThreads library. On windows building shared binaries it contains the dll|| 
     20||libopenthreads-dev||!OpenThreads headers. If building static binaries this package includes the library. On windows and building shared binaries this package contains the link library|| 
    1321||libopenscenegraph||The OpenSceneGraph libraries. On windows building shared binaries it contains the core dll's|| 
    1422||libopenscenegraph-dev||OpenSceneGraph headers. Static libraries. On windows the .lib files for linking with the dlls|| 
     
    1826||openscenegraph||BUILD_APPLICATIONS=ON||The OSG applications, e.g. osgviewer, osgversion|| 
    1927||openscenegraph-examples||BUILD_EXAMPLES=ON||The OSG examples, e.g. osgvolume, osganimate, osg2cpp|| 
    20 ||openthreads-doc||BUILD_DOCUMENTATION=ON||The OpenThreads reference documentation|| 
     28||openthreads-doc||BUILD_DOCUMENTATION=ON||The !OpenThreads reference documentation|| 
    2129||openscenegraph-doc||BUILD_DOCUMENTATION=ON||The OpenSceneGraph reference documentation|| 
    2230 
     
    3442 
    3543== Platform specifics == 
    36  * On Windows CPack looks for 7-zip (7-zip.org) or Winzip in the %ProgramFiles% folder. I use only 7-zip and it works great for generating tgz's or zips if you like. 
     44 * On Windows CPack looks for [http://7-zip.org 7-zip] or Winzip in the %ProgramFiles% folder. I use only 7-zip and it works great for generating tgz's or zips if you like. 
    3745 * On windows the cmake scripts tries to determine what compiler you have. Especially it tries to distinguish between vc80 and vc80sp1 since vc80 (msvs 2005) is known to generate "false" error reports on osg-users 
    3846 
     
    5462  If OSG_CPACK_COMPILER is set it will get put here. A default is generated for msvc but anyone can set OSG_CPACK_COMPILER 
    5563 build_type:: 
    56   Corresponds to CMAKE_BUILD_TYPE. Debug or Release on unices. On windows might be RelWithDebugInfo or MinSize too. 
     64  Corresponds to CMAKE_BUILD_TYPE. Debug or Release on unices. On windows might be !RelWithDebInfo or !MinSizeRel too. 
    5765 static:: 
    5866  If you are building static libraries the package name ends with static