From d88a7e03ece02110ca1e5fd69f1de5569c98cf07 Mon Sep 17 00:00:00 2001 From: mpa Date: Mon, 18 Nov 2013 13:03:28 +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 d6e14d7..f6764eb 100644 --- a/README +++ b/README @@ -34,36 +34,19 @@ tar zxf HexoticPLUGIN_SRC.tgz bash cd source env_build.sh -export HexoticHOME=/Hexotic -Note: you can avoid setting HexoticHOME environment variable but use ---with-hexotic key of configure script instead. You can also compile -plugin withour Hexotic product installation. But you'll need to add -path to the hexotic executable to the PATH environment variable in order -to use Hexotic meshing plugin within SALOME. +* cmake build procedure -* configure build system - -cd HexoticPLUGIN_SRC -./build_configure - -cd .. mkdir HexoticPLUGIN_BUILD cd HexoticPLUGIN_BUILD -../HexoticPLUGIN_SRC/configure --prefix=/HexoticPLUGIN_INSTALL +cmake -DCMAKE_BUILD_TYPE= -DCMAKE_INSTALL_PREFIX= ../HexoticPLUGIN_SRC -Note: you can use --with-hexotic option to pass the root directory of -Hexotic product to the configure script. In this case you can avoid -setting HexoticHOME 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 +HexoticPLUGIN 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 HexoticPLUFIN 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 Hexotic -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 HexoticPLUGIN 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 HexoticPLUGIN meshing module -should be installed in the directory /HexoticPLUGIN_INSTALL. +should be installed in the directory . ----------------------------------- 3. Launch SALOME with HexoticPLUGIN @@ -86,7 +69,7 @@ bash cd source env_products.sh -export HexoticPLUGIN_ROOT_DIR=/HexoticPLUGIN_INSTALL +export HexoticPLUGIN_ROOT_DIR= export SalomeAppConfig=${HexoticPLUGIN_ROOT_DIR}/share/salome/resources/hexoticplugin export PATH=/Hexotic:${PATH -- 2.30.2