Provide a tool with a dedicated language to describe and visualize Lindenmayer systems.
We use git submodules. Keep in mind to update submodules after
checkout and clone using --recursive
.
git clone --recursive [email protected]:IohannRabeson/Lindenmayer.git
Somes libraries are embedded:
--recursive
.git submodule init && git submodule update
.Require Qt 5 installed on your system.
Also a C++ compiler with sparse support for C++17 is required.
Qt directory should be added to CMAKE_PREFIX_PATH
.
cmake <project_dir> -G <generator> -DCMAKE_PREFIX_PATH="$(brew --prefix qt)"
Tested generators:
On Windows don't forget to select a x64 generator, default or x86 will not works.
Also you will have some missing Qt DLL, so you have to update your PATH
in Visual Studio:
Right click on the project "Lindenmayer" > Properties > Debugging > Environment then add a new entry like that:
PATH=$(PATH);<QTDIR>\bin
.
Because I'm using ANTLR, I added an extra build step where Antlr generates C++ code from a grammar defined by the file core/private/language/LSystem.g4.
https://iohannrabeson.github.io/Lindenmayer
--auto-test
parameter value.