31 lines
651 B
Markdown
31 lines
651 B
Markdown
# Module
|
|
|
|
To improve our class, we integrate specific module
|
|
(more easy to use and manipulate after)
|
|
|
|
## Build
|
|
|
|
### Clone repo godot
|
|
git clone https://github.com/godotengine/godot.git
|
|
cd godot
|
|
git checkout 3.1.2-stable
|
|
|
|
### Create link with our module
|
|
ln -s ../modules/crypt .
|
|
ln -s ../modules/bitstream .
|
|
ln -s ../modules/bitset .
|
|
|
|
### Build Project
|
|
scons -j$(nproc) -c
|
|
scons -j$(nproc) platform=x11
|
|
|
|
### Generate doc
|
|
./bin/godot.x11.tools.64 --doctool .
|
|
cp modules/khaganat/doc_classes/* doc/classes/.
|
|
|
|
### Re-build godot with doc
|
|
scons -j$(nproc) platform=x11
|
|
|
|
## Doc
|
|
|
|
https://docs.godotengine.org/en/3.1/development/cpp/custom_modules_in_cpp.html
|