./build.csh
- By default, build.csh only compiles the modules but does not install them,
- i.e. does not perform 'make install' step.
- To do this, use -i option or -p <prefix> where <prefix> is the
+ By default, build.csh builds and installs all SALOME
+ modules. All modules are installed to the INSTALL subfolder
+ of the current directory. If you need to change the installation
+ directory, you can use -p <prefix> option where <prefix> is the
directory SALOME modules should be installed to.
- If you want to build only some SALOME modules, just pass them as
- parameters, e.g.:
+ If you want to build only some subset of SALOME modules,
+ just pass them as parameters, e.g.:
- ./build.csh -i KERNEL MED GEOM
+ ./build.csh -p /home/user/salome KERNEL MED GEOM
The script also provides other options which specify compiling and
installation parameters. You can learn about these options by using
./build.csh -h
When you run build.csh for the first time it is not necessary to pass
- -b, -c parameters. The script detects if build procedure has not yet
+ -b or -c parameters. The script detects if build procedure has not yet
been performed and in this case runs build_configure, configure scripts
automatically.
Note: use -d option carefully because in this case the script removes
the existing (previously installed) SALOME modules.
- Note: please, take into your account that 'make install' step is
- obligatory for the KERNEL module. Build directory of KERNEL
- can not be indicated as KERNEL_ROOT_DIR. This is an exception
- for the SALOME modules. So you should use either option -i
- or -p of build.sch script when building KERNEL module.
-
Note: build.(c)sh scripts do not modify the environment files
(env_products.csh, etc). You should do it by yourself.