The rules for compiling the client extension are defined in the Makefile
located in the godot
folder of the Celte repository.
This rule is used to compile the client extension with the rule client-systems
and use it for export the project. The client project is exported in the gdproj/export
folder. We can set the Target_client
variable to the platform we want to export the project to.
This rule compiles the systems of the client using scons
. We start by setting the path of the gdextension library into the extension_list of godot. Then we put the gdextension library into the gdproj/bin
folder. Finally, we compile the systems of the client using scons
.
The rules for compiling the server extension are defined in the Makefile
located in the godot
folder of the Celte repository.
This rule is used to compile the server extension with the rule server-systems
and use it for export the project. The server project is exported in the gdproj/export
folder. We can set the Target_server
variable to the platform we want to export the project to.
This rule compiles the systems of the server using scons
. We start by setting the path of the gdextension library into the extension_list of godot. Then we put the gdextension library into the gdproj/bin
folder. Finally, we compile the systems of the server using scons
.
To use the godot project, you need to open the project located in the gdproj/export
folder. You can then run the project and see the result of the systems you have compiled.