Skip to content

Latest commit

 

History

History
88 lines (67 loc) · 3.76 KB

SETUP.md

File metadata and controls

88 lines (67 loc) · 3.76 KB

Ada Setup

Ada project This document gathers some notes about setting up our Ada development environment.

aunit Library

We download the archive aunit-22.0.0.zip (November 2021) and extract the source directory aunit-22.0.0 (which contains the project file Makefile).

Path :

PATH variable updates Command line tool
export PATH=$PATH:/c/opt/Python-3.11.0/Scripts sphinx-build.exe
export PATH=$PATH:/c/opt/GNAT/2021/bin gprbuild.exe
export PATH=$PATH:/c/opt/texlive/bin/win32 pdflatex.exe

Windows environment

> make all
> make doc all
 
> dir /b doc\build\aunit_cb\pdf\*.pdf
aunit_cb.pdf
 
> make install INSTALL=dist

MSYS2 environment

$ make all
$ make doc all
 
$ find doc/build -name *.pdf
doc/build/aunit_cb/pdf/aunit_cb.pdf
 
> make install INSTALL=dist

Footnotes

[1] doc/share/conf.py

The source patch consists of replacing AdaLexer() by AdaLexer (idem for GNATProjectLexer()).
 98: def setup(app):
 99:     app.add_lexer('ada', ada_pygments.AdaLexer())
100:     app.add_lexer('gpr', ada_pygments.GNATProjectLexer())

mics/February 2025