]> Creatis software - creaToolsTools.git/blob - windows/CREATOOLS_PACKAGING_INSTRUCTIONS.txt
#3405 creaToolsTools Feature New Normal - vtk8itk5wx3-macos
[creaToolsTools.git] / windows / CREATOOLS_PACKAGING_INSTRUCTIONS.txt
1 # ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 #                        pour la Santé)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 #
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.
13 #
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
18 #  liability. 
19 #
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 # ------------------------------------------------------------------------  
23
24 * HOW TO PACKAGE THE FULL CREATOOLS SUITE
25 =========================================
26 LG 09/01/09
27 Instructions written for CreaTools 2.0 packaging
28 (Between parenthesis are the versions used for version 2.0)
29
30 Requisites
31 ----------
32 * CMake (2.6 patch 2)
33 * ActiveTcl (8.5.4.0)
34 * NSIS (Nullsoft Install System)
35
36
37 Preliminaries
38 -------------
39
40 * Uninstall previous crea_ThirdParty_dlls / crea_ThirdParty_Libraries
41 * Create a packaging directory. It will be called ROOT below.
42 * Create a src subdir
43
44 Create crea_ThirdParty_Libraries-2.0.0.rar
45 ------------------------------------------
46
47 1) Download in ROOT/src the latest sources of:
48 * itk (3.10.1)
49 * vtk (5.2.1)
50 * KWWidgets (nightly 09/01/2009)
51 * wxWidgets (wxMSW-2.8.9-Setup.exe)
52
53 2)
54 * Build and PACKAGE itk in 'RelWithDebInfo' configuration with options:
55 (i.e. build the ALL_BUILD and PACKAGE projects)
56 BUILD_EXAMPLES        OFF
57 BUILD_SHARED_LIBS     ON
58 BUILD_TESTING         OFF
59
60 * Copy the installer (ITK-3.10.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0
61 * Execute it
62
63 3)
64 * Build and PACKAGE vtk in 'RelWithDebInfo' configuration with options:
65 (i.e. build the ALL_BUILD and PACKAGE projects)
66 BUILD_EXAMPLES        OFF
67 BUILD_SHARED_LIBS     ON
68 BUILD_TESTING         OFF
69 VTK_WRAP_TCL          ON
70
71 * Copy the installer (VTK-5.2.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0
72 * Execute it
73
74 4)
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
79
80
81 5)
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'
86 * Build all.
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'
94
95 6)
96 * Build and **INSTALL** gdcm in 'RelWithDebInfo' configuration with options
97 CMAKE_INSTALL_PREFIX   ROOT/crea_ThirdParty_Libraries-2.0.0/gdcm-090109
98 BUILD_EXAMPLES         OFF
99 BUILD_EXAMPLES         OFF
100 GDCM_NAME_SPACE        gdcm_1_3
101 GDCM_VTK               ON
102
103 7)
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
107
108 8)
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
112
113