1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # This software is governed by the CeCILL-B license under French law and
8 # abiding by the rules of distribution of free software. You can use,
9 # modify and/ or redistribute the software under the terms of the CeCILL-B
10 # license as circulated by CEA, CNRS and INRIA at the following URL
11 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
12 # or in the file LICENSE.txt.
14 # As a counterpart to the access to the source code and rights to copy,
15 # modify and redistribute granted by the license, users are provided only
16 # with a limited warranty and the software's author, the holder of the
17 # economic rights, and the successive licensors have only limited
20 # The fact that you are presently reading this means that you have had
21 # knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------
24 * HOW TO PACKAGE THE FULL CREATOOLS SUITE
25 =========================================
27 Instructions written for CreaTools 2.0 packaging
28 (Between parenthesis are the versions used for version 2.0)
34 * NSIS (Nullsoft Install System)
40 * Uninstall previous crea_ThirdParty_dlls / crea_ThirdParty_Libraries
41 * Create a packaging directory. It will be called ROOT below.
44 Create crea_ThirdParty_Libraries-2.0.0.rar
45 ------------------------------------------
47 1) Download in ROOT/src the latest sources of:
50 * KWWidgets (nightly 09/01/2009)
51 * wxWidgets (wxMSW-2.8.9-Setup.exe)
54 * Build and PACKAGE itk in 'RelWithDebInfo' configuration with options:
55 (i.e. build the ALL_BUILD and PACKAGE projects)
60 * Copy the installer (ITK-3.10.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0
64 * Build and PACKAGE vtk in 'RelWithDebInfo' configuration with options:
65 (i.e. build the ALL_BUILD and PACKAGE projects)
71 * Copy the installer (VTK-5.2.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0
75 * Build and **INSTALL** kwwidgets in 'RelWithDebInfo' configuration with options:
76 (i.e. build the ALL_BUILD and INSTALL projects)
77 CMAKE_INSTALL_PREFIX ROOT/crea_ThirdParty_Libraries-2.0.0/KWWidgets-090109
78 VTK_DIR the/install/dir/of/the/vtk/just/built/and/installed
82 * Build wxWidgets in 'DLL Debug' and 'DLL Release' configuration:
83 * Execute the sources installer (install in ROOT/crea_ThirdParty_Libraries-2.0.0/)
84 * Open the project ROOT/crea_ThirdParty_Libraries-2.0.0/wxWidgets-X.X.X/build/msw/wx_dll/dsw
85 * Set configuration to 'DLL Debug'
87 Note : don't care about dbgrid link failure:
88 From wx install instructions:
89 'Please notice that it's normal that dbgrid project
90 doesn't build if wxUSE_ODBC is set to 0 (default).'
91 * in ROOT/crea_ThirdParty_Libraries-2.0.0/wxWidgets-X.X.X :
92 * Delete all folders except 'include' and 'lib'
93 * Delete all files except 'wx-config.in'
96 * Build and **INSTALL** gdcm in 'RelWithDebInfo' configuration with options
97 CMAKE_INSTALL_PREFIX ROOT/crea_ThirdParty_Libraries-2.0.0/gdcm-090109
100 GDCM_NAME_SPACE gdcm_1_3
104 * Update the README.txt !
105 * Create the archive ROOT/crea_ThirdParty_Libraries-2.0.0.rar
106 * copy it to tux in /var/www/html/software/creatools/crea_ThirdParty/v2_0
109 * Create crea_ThirdParty_dlls-2.0.0 installer
110 * checkout crea_ThirdParty_dlls from creatis cvs
111 * copy it to tux in /var/www/html/software/creatools/crea_ThirdParty/v2_0