]> SALOME platform Git repositories - tools/yacsgen.git/blob - Examples/cpp2/README.txt
Salome HOME
Merge from V6_main_20120808 08Aug12
[tools/yacsgen.git] / Examples / cpp2 / README.txt
1 A C++ standalone component (executable form)
2 =================================================
3
4 To build this example, modify the ../context.py file
5 to take into account your configuration.
6
7 1- your prerequisite file 
8 2- your KERNEL_ROOT_DIR
9
10 Then set the environment (including PYTHONPATH for YACSGEN, ../.. from here and execute components.py ::
11
12   source <your prerequisite file>
13   python components.py
14
15 You should get a SALOME module in source form (cppcompos_SRC), its installation (install) and
16 a SALOME application (appli) composed of modules KERNEL, GUI, YACS and the new module cppcompos.
17
18 To build the standalone component (executable named prog), execute the Makefile in the SALOME application environment::
19
20   ./appli/runSession make
21
22 To run a coupling:
23
24  1. start SALOME in background : ./appli/runAppli -t
25  2. start a SALOME session : ./appli/runSession
26  3. start YACS coupler with coupling file : driver coupling.xml
27  4. examine output files in /tmp
28  5. shutdown SALOME : shutdowSalome.py
29  6. exit session : CTRL-D (or exit)