bash
cd <salome>
source env_build.sh
-export GHS3DPRLHOME=<salome>/ghs3dprl
-Note: you can avoid setting GHS3DPRLHOME environment variable but use
---with-ghs3dprl key of configure script instead. You can also compile
-plugin withour GHS3DPRL product installation. But you'll need to add
-path to the tepal executable to the PATH environment variable in order
-to use GHS3DPRL meshing plugin within SALOME.
+* cmake build procedure
-* configure build system
-
-cd GHS3DPRLPLUGIN_SRC
-./build_configure
-
-cd ..
mkdir GHS3DPRLPLUGIN_BUILD
cd GHS3DPRLPLUGIN_BUILD
-../GHS3DPRLPLUGIN_SRC/configure --prefix=<salome>/GHS3DPRLPLUGIN_INSTALL
+cmake -DCMAKE_BUILD_TYPE=<Mode> -DCMAKE_INSTALL_PREFIX=<GHS3DPRLPLUGIN_INSTALL> ../GHS3DPRLPLUGIN_SRC
-Note: you can use --with-ghs3dprl option to pass the root directory of
-ghs3dprl product to the configure script. In this case you can avoid
-setting GHS3DPRLHOME environment variable. Try 'configure --help'
-command to learn more about available configure script options.
+,where <Mode> is build mode (Release or Debug),
+<GHS3DPRLPLUGIN_INSTALL> is a destination folder to install
+GHS3DPRLPLUGIN module of SALOME.
-Check "Summary" area in the log output of the configure script to
-verify that all pre-requisites required for the successful compilation
-of GHS3DPRLPLUFIN module have been found. All pre-requisite products
-should have status "yes". If any product has status "no", the
-compilation procedure will fail (the only exception is GHS3DPRL
-product which is not required for the successful compilation of the
-plugin; it is needed in run-time only).
+Verify that all pre-requisites required for the successful compilation
+of GHS3DPRLPLUGIN module have been found.
* compile and install plugin module
If the compilation is finished successfully (make and make install
steps are finished without errors) the GHS3DPRLPLUGIN meshing module
-should be installed in the directory <salome>/GHS3DPRLPLUGIN_INSTALL.
+should be installed in the directory <GHS3DPRLPLUGIN_INSTALL>.
----------------------------------
3. Launch SALOME with GHS3DPRLPLUGIN
cd <salome>
source env_products.sh
-export GHS3DPRLPLUGIN_ROOT_DIR=<salome>/GHS3DPRLPLUGIN_INSTALL
+export GHS3DPRLPLUGIN_ROOT_DIR=<GHS3DPRLPLUGIN_INSTALL>
export SalomeAppConfig=${GHS3DPRLPLUGIN_ROOT_DIR}/share/salome/resources/ghs3dprlplugin
export PATH=<salome>/ghs3dprl:${PATH