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

Initial implementation for supporting vcpkg #1886

Merged
merged 10 commits into from
Apr 27, 2018
Merged

Conversation

greazer
Copy link
Member

@greazer greazer commented Apr 26, 2018

No description provided.

};
}
}
catch(error) {}
Copy link
Member

@bobbrow bobbrow Apr 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catch should set this.vcpkgPathReady = true and call this.handleConfigurationChange() so that we don't get stuck forever waiting for data that's never coming. #Closed

Copy link
Member Author

@greazer greazer Apr 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah. But a finally would be better for this, no? We need to call these two operations no matter what. #Closed

}
if (!settings.defaultDefines) {
configuration.defines = (process.platform === 'win32') ? ["_DEBUG", "UNICODE", "_UNICODE"] : [];
}
if (!settings.defaultBrowsePath) {
// We don't add system includes to the browse.path anymore. The language server has this information.
Copy link
Member

@bobbrow bobbrow Apr 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add this comment back to the block where you update the browse.path? #Closed

@bobbrow bobbrow merged commit 9249e27 into master Apr 27, 2018
@bobbrow bobbrow deleted the dev/jimgries/vcpkg2 branch April 27, 2018 21:50
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants