build.ChangeBuildMode


This function changes the build mode.

[Specification format]

build.ChangeBuildMode(buildmode)

[Argument(s)]

Argument

Description

buildmode

Specify the build mode to be changed to with a string.

[Return value]

If the build mode was changed successfully: True

If there was an error when changing the build mode: False

[Detailed description]

-

This function changes the build modes of the main project and subprojects to the build mode specified in buildmode.

-

If buildmode does not exist in the project, a new build mode is created based on "DefaultBuild", and then the build mode is changed to that.

[Example of use]

>>>build.ChangeBuildMode("test_release")
True
>>>