Skip to content
Snippets Groups Projects
Verified Commit 000de496 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

README: simplify generic compilation instructions

[skip ci]
parent e3d32145
No related branches found
No related tags found
No related merge requests found
Pipeline #4587 skipped
...@@ -108,19 +108,15 @@ The last line runs Autoconf and Automake in order to prepare the build environme ...@@ -108,19 +108,15 @@ The last line runs Autoconf and Automake in order to prepare the build environme
Simply launch the configure script from a terminal: Simply launch the configure script from a terminal:
```sh ```sh
./configure ./configure --with-matlab=<…>
```
If you have MATLAB, you need to indicate the MATLAB location using the `with-matlab` flag. For example, on GNU/Linux:
```sh
./configure --with-matlab=/usr/local/MATLAB/R2019a
``` ```
where the path to MATLAB is specified.
Some important options: Some important options:
- `--disable-matlab`: skip the compilation of MEX files for MATLAB - `--disable-matlab`: skip the compilation of MEX files for MATLAB
- `--disable-octave`: skip the compilation of MEX files for Octave - `--disable-octave`: skip the compilation of MEX files for Octave
- `--disable-doc`: skip the compilation of the documentation (PDF and HTML) - `--disable-doc`: skip the compilation of the documentation (PDF and HTML)
- `CFLAGS="-O3" CXXFLAGS="-O3"`: don't compile the C/C++ programs with debugging information
- `MATLAB_MEX_CFLAGS="-O3" MATLAB_MEX_CXXFLAGS="-O3"`: remove debugging information for MATLAB MEX functions
You may need to specify additional options to the configure script, see the output of the `--help` option, and also the platform specific instructions below. If the configuration goes well, the script will tell you which components are correctly configured and will be built. You may need to specify additional options to the configure script, see the output of the `--help` option, and also the platform specific instructions below. If the configuration goes well, the script will tell you which components are correctly configured and will be built.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment