-
-
Notifications
You must be signed in to change notification settings - Fork 118
Developers wiki: Developers tools
The Doxygen documentation related to the last release is available on the github pages related to the MmgTools oraganization: https://mmgtools.github.io/
To build locally the Mmg documentation:
-
We assume that you have Doxygen installed.
-
Inside your build directory, run the
make doc
command to compile the project documentation; -
The developers documentation is now available under the
doc
folder of yourbuild
directory, you just have to open the doc/index.html file to see it.
You can test your mmg's applications by enabling and running the continuous integration tests (we suggest you to run the tests in debug mode, see the Configuration section of the setup guide for more informations on the compilation modes):
cmake -D CMAKE_BUILD_TYPE=Debug -D BUILD_TESTING=ON ..
make
ctest
You can enable or disable some tests using the following CMake's variables:
| Variable name | Object | Authorized values and effects | |----------------------|-----------------------------------|-------------------------|----------------| | MMG2D_CI | enable or disable the mmg2d tests |
ON | enabled |
OFF
|
disabled |
ON | enabled |
OFF
|
disabled |
ON | enabled |
OFF
|
disabled |
ON | enabled |
OFF
|
disabled |
ON | enabled |
OFF
|
disabled |
ON | enabled |
OFF
|
disabled |
Example:
The following command configure CTest to run only the mmg3d application and library tests:cmake -D TEST_LIBMMG3D=ON ..