Salome HOME
Copyright update: 2016
[samples/atomsolv.git] / README
1 ****************************
2 About SALOME ATOMSOLV sample
3 ****************************
4
5 SALOME ATOMSOLV module is a part of SALOME Tutorial which describes the
6 process of custom SALOME modules development.
7
8 For more information please visit the SALOME platform web site:
9
10   <http://www.salome-platform.org/>
11
12 =======
13 License
14 =======
15
16 SALOME platform is distributed under the GNU Lesser General Public License.
17 See COPYING file for more details.
18
19 Also, additional information can be found at SALOME platform web site:
20
21   <http://www.salome-platform.org/downloads/license/>
22
23 ============
24 Installation
25 ============
26
27 --------------
28 Pre-requisites
29 --------------
30
31 SALOME platform relies on a set of third-party softwares; some of them are needed
32 at build time only, while other ones are needed in runtime also.
33
34 For more information about the pre-requisites please visit SALOME platform web
35 site:
36
37 * Check Release Notes and Software Requirements of the latest SALOME release at
38
39   <http://www.salome-platform.org/downloads/current-version/>
40
41 * Pre-requisites page at SALOME web site:
42
43   <http://www.salome-platform.org/downloads/license/>
44
45 Note: SALOME ATOMSOLV needs SALOME KERNEL and SALOME GUI modules as
46 pre-requisites.
47
48 ------------------
49 Basic Installation
50 ------------------
51
52 The build procedure of the SALOME platform is implemented with CMake.
53 In order to build the module you have to do the following actions: 
54
55 1. Set up environment for pre-requisites (see "Pre-requisites" section above).
56
57 2. Create a build directory:
58
59    % mkdir ATOMSOLV_BUILD
60
61 3. Configure the build procedure:
62
63    % cd ATOMSOLV_BUILD
64    % cmake -DCMAKE_BUILD_TYPE=<mode> -DCMAKE_INSTALL_PREFIX=<installation_directory> <path_to_src_dir>
65
66    where
67    - <mode> is either Release or Debug (default: Release);
68    - <installation_directory> is a destination folder to install SALOME ATOMSOLV
69      module (default: /usr); 
70    - <path_to_src_dir> is a path to the SALOME ATOMSOLV sources directory.
71
72    Note: by default (if CMAKE_INSTALL_PREFIX option is not given), SALOME ATOMSOLV
73    module will be configured for installation to the /usr directory that requires
74    root permissions to complete the installation.
75
76 4. Build and install:
77
78    % make
79    % make install
80
81    This will install SALOME ATOMSOLV module to the <installation_directory>
82    specified to cmake command on the previous step.
83
84 -------------------
85 Custom installation
86 -------------------
87
88 SALOME ATOMSOLV module supports a set of advanced configuration options;
89 for more details learn CMakeLists.txt file in the root source directory.
90
91 You can also use other options of cmake command to customize your installation.
92 Learn more about available options by typing
93
94    % cmake --help
95
96 ===============
97 Troubleshooting
98 ===============
99
100 Please, send a mail to webmaster.salome@opencascade.com.