From 3a6f758c36d33def8d14527f8f05c80758e672b6 Mon Sep 17 00:00:00 2001 From: mpa Date: Mon, 18 Nov 2013 13:02:45 +0000 Subject: [PATCH] CMake: - update documentation considering new CMake build system --- README | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/README b/README index dd2c657..2b36401 100644 --- a/README +++ b/README @@ -35,31 +35,19 @@ tar zxf BLSURFPLUGIN_SRC.tgz bash cd source env_build.sh -export BLSURFHOME=/blsurf -Note: you can avoid setting BLSURFHOME environment variable but use ---with-blsurf key of configure script instead. +* cmake build procedure -* configure build system - -cd BLSURFPLUGIN_SRC -./build_configure - -cd .. mkdir BLSURFPLUGIN_BUILD cd BLSURFPLUGIN_BUILD -../BLSURFPLUGIN_SRC/configure --prefix=/BLSURFPLUGIN_INSTALL +cmake -DCMAKE_BUILD_TYPE= -DCMAKE_INSTALL_PREFIX= ../BLSURFPLUGIN_SRC -Note: you can use --with-blsurf option to pass the root directory of -blsurf product to the confogure script. In this case you can avoid -setting BLSURFHOME 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 +BLSURFPLUGIN 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 BLSURFPLUFIN module have been found. All pre-requisite products -should have status "yes". If any product has status "no", the -compilation procedure will fail. +Verify that all pre-requisites required for the successful compilation +of BLSURFPLUFIN module have been found. * compile and install plugin module @@ -70,7 +58,7 @@ exit If the compilation is finished successfully (make and make install steps are finished without errors) the BLSURFPLUGIN meshing module -should be installed in the directory /BLSURFPLUGIN_INSTALL. +should be installed in the directory . ---------------------------------- 3. Launch SALOME with BLSURFPLUGIN @@ -82,7 +70,7 @@ bash cd source env_products.sh -export BLSURFPLUGIN_ROOT_DIR=/BLSURFPLUGIN_INSTALL +export BLSURFPLUGIN_ROOT_DIR= export SalomeAppConfig=${BLSURFPLUGIN_ROOT_DIR}/share/salome/resources/blsurfplugin export DISTENE_LICENSE_FILE=/dlim8.key -- 2.39.2