Update Automatic generation of user_model IO of mbsysc projects - subfolder authored by Sebastien Timmermans's avatar Sebastien Timmermans
...@@ -39,3 +39,14 @@ avec fichier= ...@@ -39,3 +39,14 @@ avec fichier=
Open a terminal in *mbsysc* folder then call `find . -name \*.mbs -exec "./MBsysC/build/bin/Gen_mds_user" {} \;`. Open a terminal in *mbsysc* folder then call `find . -name \*.mbs -exec "./MBsysC/build/bin/Gen_mds_user" {} \;`.
- `find` will list all files (recursively) ending with *.mbs*; - `find` will list all files (recursively) ending with *.mbs*;
- `-exec ...` will call `Gen_mds_user` with each file found. - `-exec ...` will call `Gen_mds_user` with each file found.
## output path
Since !698, output folder can be specified:
Saving directory of the generated user C-file can be specified by the argument:
* **`sub:`** : save them in _userfctR/mbs_name_ (name of the mbs in the file);
* **`sub:any/path`** : save them in the provided path (absolute or relative);
* **`sub:PRJPATH/myfolder`** : save them in the provided path, replacing **`PRJPATH`** by the one determined when the mbs file was loaded;
* Omitting the new argument has the same behavior than the previous version;
\ No newline at end of file