From d636e9c2a85a7f694af894c4b67ba134e1a86cb4 Mon Sep 17 00:00:00 2001 From: mpa Date: Mon, 18 Nov 2013 13:03:11 +0000 Subject: [PATCH] CMake: - update documentation considering new CMake build system --- README | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/README b/README index 7289e65..9f7a266 100644 --- a/README +++ b/README @@ -34,36 +34,19 @@ tar zxf GHS3DPRLPLUGIN_SRC.tgz bash cd source env_build.sh -export GHS3DPRLHOME=/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=/GHS3DPRLPLUGIN_INSTALL +cmake -DCMAKE_BUILD_TYPE= -DCMAKE_INSTALL_PREFIX= ../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 is build mode (Release or Debug), + 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 @@ -74,7 +57,7 @@ exit 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 /GHS3DPRLPLUGIN_INSTALL. +should be installed in the directory . ---------------------------------- 3. Launch SALOME with GHS3DPRLPLUGIN @@ -86,7 +69,7 @@ bash cd source env_products.sh -export GHS3DPRLPLUGIN_ROOT_DIR=/GHS3DPRLPLUGIN_INSTALL +export GHS3DPRLPLUGIN_ROOT_DIR= export SalomeAppConfig=${GHS3DPRLPLUGIN_ROOT_DIR}/share/salome/resources/ghs3dprlplugin export PATH=/ghs3dprl:${PATH -- 2.39.2