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*):
22 # take care, is long time to restore, sometimes
23 sat clean SALOME-xx --build --install
25 * Clean previously created *build* and *install* directories, only for products with property *is_salome_module*:
29 sat clean SALOME-xxx --build --install \
30 --properties is_salome_module:yes
34 ======================
36 * **--products** : Products to clean.
40 | Filter the products by their properties.
41 | Syntax: *--properties <property>:<value>*
43 * **--sources** : Clean the product source directories.
45 * **--build** : Clean the product build directories.
47 * **--install** : Clean the product install directories.
49 * **--generated : Clean source, build and install directories for generated products.
51 * **--package : Clean the application package directory.
53 * **--all** : Clean the product source, build and install directories.
55 * **--sources_without_dev** :
57 | Do not clean the products in development mode,
58 | (they could have VCS_ commits pending).
62 Some useful configuration pathes
63 =================================
65 No specific configuration.