Salome HOME
[bos #20476][EDF] 22546 - sigsegv with offset. Add approximation checkbox.
[modules/shaper.git] / README
1 SHAPER version 2.0.0
2
3 Compilation on LINUX:
4 =====================
5
6   cd <sources_directory>
7   source salome_env.sh
8   source env_linux.sh
9   cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install ${ROOT_DIR}/sources
10   make
11   make install
12
13 or simply (only for not-SALOME prerequisites):
14
15   make.sh
16
17 Note that it is possible to use SALOME installed environment for compilation. 
18 For this just import it (PDIR variable will be set automatically) or update 
19 salome_env.sh first "export" and import this script.
20
21
22 It will create a "build" and "install" folders. Environment is ready to launch an application:
23
24   XGUI
25
26 Or without environment call:
27
28   linux_run.sh
29
30
31 Compilation on Windows:
32 =======================
33   cd <sources_directory>
34   buildSHAPER_rel.bat
35
36 It will launch the Visual Studio 2010. In it build for: "ALL_BUILD" and then "INSTALL" projects.
37 Launch:
38
39   winRun.bat
40
41 For compilation on Windows basing on SALOME products already installed please use:
42
43 msvc9_env_Salome.bat
44
45 SALOME_ROOT_DIR is needed to be correctly set or located in "SALOME" folder of
46 parent to SHAPER folder. For the current moment SALOME 7.3.0 compiled on
47 Visual Studio 2008 compiler is supported.
48