PlatformAPI.IOTAPlatform160.CheckProject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CheckProject(const AProject: IOTAProject; var Reasons: TArray<string>): Boolean;

Properties

Type Visibility Source Unit Parent
function public PlatformAPI.pas PlatformAPI IOTAPlatform160

Description

CheckProject returns True if the IDE does not find a reason why the specified project (IOTAProject) would not work on this platform. If the IDE finds one or more issues that prevent the specified project from working on this platform without changes, this function returns False and fills the Reasons array with descriptions of the found issues.

Note: While this function can determine that a project does not support a platform, the opposite is not true. This function might return True after checking a project that does not really support this platform, as it is not possible to assert with complete certainty that a project supports a platform.