2 .. include:: ../../rst_prolog.rst
10 The **clean** command removes products in the *source, build, or install* directories of an application. Theses directories are usually named ``SOURCES, BUILD, INSTALL``.
12 Use the options to define what directories you want to suppress and to set the list of products
18 * Clean all previously created *build* and *install* directories (example application as *SALOME_xx*): ::
20 # take care, is long time to restore, sometimes
21 sat clean SALOME-xx --build --install
23 * Clean previously created *build* and *install* directories, only for products with property *is_salome_module*: ::
25 sat clean SALOME-xxx --build --install \
26 --properties is_salome_module:yes
30 ======================
32 * **--products**: Products to clean.
36 | Filter the products by their properties.
37 | Syntax: --properties <property>:<value>
39 * **--sources**: Clean the product source directories.
41 * **--build**: Clean the product build directories.
43 * **--install**: Clean the product install directories.
45 * **--all**: Clean the product source, build and install directories.
47 * **--sources_without_dev**:
49 | Do not clean the products in development mode,
50 | (they could have VCS_ commits pending).
54 Some useful configuration pathes
55 =================================
57 No specific configuration.