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

Add support for compiling with Visual Studio 2017 #1

Closed
lewissbaker opened this issue Apr 10, 2017 · 3 comments
Closed

Add support for compiling with Visual Studio 2017 #1

lewissbaker opened this issue Apr 10, 2017 · 3 comments
Assignees

Comments

@lewissbaker
Copy link
Owner

The Cake build system currently relies on the registry to determine whether a particular Visual Studio version is installed and if so where it is installed.

Once lewissbaker/cake#8 has been addressed in Cake then we need to update the config.cake for cppcoro to detect whether VS 2017 is available and if so then configure a new MsvcCompiler tool that makes use of it.

@lewissbaker
Copy link
Owner Author

I could also potentially try and pull the compiler from http://vcppdogfooding.azurewebsites.net/.

This would actually be somewhat simpler as once downloaded you can just unzip the .nupkg to a known location and use the compiler directly from there. You just can't use this approach for anything production-related. Nevertheless it may well be useful for testing out updates to coroutines in pre-release versions of Visual Studio.

@lewissbaker
Copy link
Owner Author

I've added some initial work towards building with VS2017 in 0f6a170

It just looks in common locations for the install for now but should work for most people until I figure out how to call the COM api for enumerating install locations.

@lewissbaker lewissbaker self-assigned this May 19, 2017
@lewissbaker
Copy link
Owner Author

Cake has now gained ability to find VS 2017 using the vswhere utility in lewissbaker/cake@ccb64fd

Commit af6f2fb updates cppcoro to use this functionality from cake.

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