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