Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dub file with BetterC configured does not properly generate a VisualD project file. #2024

Closed
MrZoraman opened this issue Oct 13, 2020 · 0 comments

Comments

@MrZoraman
Copy link
Contributor

System information

  • dub version: DUB version 1.23.0, built on Sep 22 2020
  • OS Platform and distribution: Windows 10 Pro (2004)
  • compiler version DMD32 D Compiler v2.094.0-dirty

Bug Description

Generating a VisualD project with BetterC does not set the BetterC flag in the produced .visualproj file.

How to reproduce?

{
    "authors": [
	    "MrZoraman"
    ],
    "copyright": "Copyright © 2020, MrZoraman",
    "description": "A minimal D application.",
    "license": "proprietary",
    "name": "vdtest",
    "buildOptions": [
	    "betterC"
    ]
}

Calling dub generate visuald produces vdtest.visualproj with the following flag set to false: <betterC>0</betterC> (or missing alltogether).

Expected Behavior

In the .visualproj file, <betterC>1</betterC> should be set.

PetarKirov pushed a commit to MrZoraman/dub that referenced this issue Nov 17, 2020
@Geod24 Geod24 closed this as completed in ac6caf3 Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant