This file contains information useful to a developer of Dextool.
Compared to a normal installation of Dextool a developer have additional needs such as compiling a full debug build (contracts activated) and compiling the tests.
A quick and easy way to setup a development build is to run the script from
tools
.
Example:
./tools/dev_setup.d
This gives access to the make target test.
To run the tests:
# build and run the unit tests
make check
# build and run the integration tests
make check_integration
This describes how to build the API documentation for Dextool (all plugins and the support libraries).
Re-configure cmake with the documentation directive on:
cd build
cmake -DBUILD_DOC=ON ..
For the documentation tool to run it requires that dmd has created the .json
files with type information. This is done by rebuilding all modules:
make clean
make all
Now lets generate the documentation with the tool.
./tools/build_doc.d --ddox
If you do not have access to internet, remove the --ddox
parameter.