]> SALOME platform Git repositories - modules/yacs.git/blobdiff - doc/calculator.rst
Salome HOME
Merge branch 'V8_3_BR' into ngr/python3_dev
[modules/yacs.git] / doc / calculator.rst
index 3126f3fad70b716004d6edb1e4cc8faacc57c04b..b457151d64d899da66e35d91f911cd5a9719344f 100644 (file)
@@ -2,7 +2,7 @@
 .. _calculator:
 
 MEDCoupling Calculator Component
-=========================
+===================================
 This example is the following of the HELLO component. It's purpose is to show how to quickly create a new SALOME module, to introduce the use of MEDCoupling objects within  SALOME/Corba context, to demonstrate the mechanism of exceptions, and to introduce the use of  SALOME supervisor.
 
 The MED libraries
@@ -65,21 +65,16 @@ The first step when developing a new SALOME module is to create a directories tr
 
 
 
-The remaining charge for the developer is to define the module interface (by writing a CORBA IDL file), and to implement it. But before, you may want to check that your  duplicated module still compiles :
+The remaining charge for the developer is to define the module interface (by writing a CORBA IDL file), and to implement it. But before, you may want to check that your  duplicated module still compiles ::
 
-
-
-::
-
-    CALCULATOR_SRC/build_configure
     mkdir CALCULATOR_BUILD
     mkdir CALCULATOR_INSTALL
     cd CALCULATOR_BUILD
-    ../CALCULATOR_SRC/configure --prefix=installDir
+    cmake -DCMAKE_BUILD_TYPE=<Mode> -DCMAKE_INSTALL_PREFIX=CALCULATOR_INSTALL ../CALCULATOR_SRC
     make && make install
 
 
-
+Where <Mode> is build mode (Release or Debug)
 
 
 Modification of interface (IDL)