-
Notifications
You must be signed in to change notification settings - Fork 1
Platforms & Configurations
This page explains how platforms and configurations work. You basically select a platform and a configuration. The arguments of both are then combined together along with a build action (e.g. clean) and these are the arguments the make file iscalled with.
Platforms are defined by the following properties...
This is the name shown in the user interface for this platform.
Defines if the platform can be selected or not. So you can disable platforms that you do not want to support.
Defines if a platform can be built on an operating system. The result of OS.get_name() needs to be in this string.
The arguments that will be added when the make file is called. Also all arguments can be used with the syntax %argument%, which will replace it with the value of that argument.
These are the preprocessor symbols relevant for this platform. This is used when generating projects for IDEs. It does not affect the called make file.
The name of the generated output. This must match the actual output generated by the make file.
When updating the .gdnlib file, the generated output name will be saved for this key.
When generating a Visual Studio project, the platform name must be a toolchain which is installed with Visual Studio.
Build configurations are defined by the following properties...
This is the name shown in the user interface for this configuration.
Defines if the configuration can be selected or not. So you can disable configurations that you do not want to support.
The arguments that will be added when the make file is called. Also all arguments can be used with the syntax %argument%, which will replace it with the value of that argument.
These are the preprocessor symbols relevant for this platform. This is used when generating projects for IDEs. It does not affect the called make file.
Defines if the debug libraries are used or not. This is used when generating projects for IDEs. It does not affect the called make file.