Skip to content

Dart GYP settings for Visual Studio are Incorrect #4296

@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


GYP settings for builds within VS are incorrect.

  1. _DEBUG should be defined for Debug builds.
  2. The runtime library is not set within the GYP file so it defaults to the MultiThreadedDLL, not MultiThreadedDebugDLL.

Attached patch fixes the two issues.

Some additional issues when building in VS that are not addressed in the patch.

  1. Release builds generate debug information (could be intentional so patch does not attempt to fix).
  2. Exception handling is disabled but Dart uses STL which will attempt to use exceptions. Warnings are generated because of this.

Attachment:
build.patch (953 Bytes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-infrastructureUse area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions