This function changes the build mode.
If the build mode was changed successfully: True
If there was an error when changing the build mode: False
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. |