]> Creatis software - creaToolsTools.git/blob - windows/CREATOOLS_PACKAGING_INSTRUCTIONS.txt
*** empty log message ***
[creaToolsTools.git] / windows / CREATOOLS_PACKAGING_INSTRUCTIONS.txt
1 * HOW TO PACKAGE THE FULL CREATOOLS SUITE
2 =========================================
3 LG 09/01/09
4 Instructions written for CreaTools 2.0 packaging
5 (Between parenthesis are the versions used for version 2.0)
6
7 Requisites
8 ----------
9 * CMake (2.6 patch 2)
10 * ActiveTcl (8.5.4.0)
11 * NSIS (Nullsoft Install System)
12
13
14 Preliminaries
15 -------------
16
17 * Uninstall previous crea_ThirdParty_dlls / crea_ThirdParty_Libraries
18 * Create a packaging directory. It will be called ROOT below.
19 * Create a src subdir
20
21 Create crea_ThirdParty_Libraries-2.0.0.rar
22 ------------------------------------------
23
24 1) Download in ROOT/src the latest sources of:
25 * itk (3.10.1)
26 * vtk (5.2.1)
27 * KWWidgets (nightly 09/01/2009)
28 * wxWidgets (wxMSW-2.8.9-Setup.exe)
29
30 2)
31 * Build and PACKAGE itk with options:
32 (i.e. build the ALL_BUILD and PACKAGE projects)
33 BUILD_EXAMPLES        OFF
34 BUILD_SHARED_LIBS     ON
35 BUILD_TESTING         OFF
36
37 * Copy the installer (ITK-3.10.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0
38 * Execute it
39
40 3)
41 * Build and PACKAGE vtk with options:
42 (i.e. build the ALL_BUILD and PACKAGE projects)
43 BUILD_EXAMPLES        OFF
44 BUILD_SHARED_LIBS     ON
45 BUILD_TESTING         OFF
46 VTK_WRAP_TCL          ON
47
48 * Copy the installer (VTK-5.2.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0
49 * Execute it
50
51 4)
52 * Build and **INSTALL** kwwidgets with options:
53 (i.e. build the ALL_BUILD and INSTALL projects)
54 CMAKE_INSTALL_PREFIX  ROOT/crea_ThirdParty_Libraries-2.0.0/KWWidgets-090109
55 VTK_DIR               the/install/dir/of/the/vtk/just/built/and/installed
56
57
58 5)
59 * Build wxWidgets in 'DLL Debug' configuration:
60 * Execute the sources installer (install in ROOT/crea_ThirdParty_Libraries-2.0.0/)
61 * Open the project ROOT/crea_ThirdParty_Libraries-2.0.0/wxWidgets-X.X.X/build/msw/wx_dll/dsw
62 * Set configuration to 'DLL Debug'
63 * Build all
64 From wx install instructions: 
65  'Pleae notice that it's normal that dbgrid project
66   doesn't build if wxUSE_ODBC is set to 0 (default).'
67 * in ROOT/crea_ThirdParty_Libraries-2.0.0/wxWidgets-X.X.X :
68   * Delete all folders except 'include' and 'lib'
69   * Delete all files except 'wx-config.in'
70
71 6)
72 * Build and **INSTALL** gdcm with options
73 CMAKE_INSTALL_PREFIX   ROOT/crea_ThirdParty_Libraries-2.0.0/gdcm-090109
74 BUILD_EXAMPLES         OFF
75 BUILD_EXAMPLES         OFF
76 GDCM_NAME_SPACE        gdcm_1_3
77 GDCM_VTK               ON
78
79 7)
80 * Update the README.txt !
81 * Create the archive ROOT/crea_ThirdParty_Libraries-2.0.0.rar
82 * copy it to tux in /
83
84 8) 
85 * Create crea_ThirdParty_dlls-2.0.0 installer
86 * checkout crea_ThirdParty_dlls from creatis cvs
87
88