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