7 sat usage is a Command Line Interface (CLI).
11 sat [generic_options] [command] [product] [command_options]
16 Useful *not exhaustive* generic options of *sat* CLI.
21 Get help as simple text.
25 sat --help # get the list of existing commands
26 sat --help compile # get the help on a specific command 'compile'
32 Execution in debug mode allows to see more trace and *stack* if an exception is raised.
37 Change verbosity level (default is 3).
41 # for product 'SALOME_xx' for example
42 # execute compile command in debug mode with trace level 4
43 sat -g -v 4 compile SALOME_xx
46 Build a SALOME product
47 ======================
49 Get the list of available products
50 ----------------------------------
52 To get the list of the current available products in your context:
58 Prepare sources of a product
59 ----------------------------
61 To prepare (get) *all* the sources of a product (*SALOME_xx* for example):
67 | The sources are usually copied in directories
68 | *$USER.workDir + SALOME_xx... + SOURCES + $PRODUCT.name*
78 # compile all prerequisites/products
81 # compile only 2 products (KERNEL and SAMPLES), if not done yet
82 sat compile SALOME_xx --products KERNEL,SAMPLES
84 # compile only 2 products, unconditionaly
85 sat compile SALOME_xx ---products SAMPLES --clean_all
88 | The products are usually build in the directories
89 | *$USER.workDir + SALOME_xx... + BUILD + $PRODUCT.name*
91 | The products are usually installed in the directories
92 | *$USER.workDir + SALOME_xx... + INSTALL + $PRODUCT.name*