MSVC: Fix natvis not being added to project in VS2017
This commit is contained in:
parent
f6c37b09ea
commit
5004c331c9
1 changed files with 2 additions and 2 deletions
|
@ -190,8 +190,8 @@ void MSBuildProvider::createProjectFile(const std::string &name, const std::stri
|
|||
project << "\t</ItemGroup>\n";
|
||||
}
|
||||
|
||||
// Visual Studio 2015 automatically imports natvis files that are part of the project
|
||||
if (name == PROJECT_NAME && _version == 14) {
|
||||
// Visual Studio 2015 and up automatically import natvis files that are part of the project
|
||||
if (name == PROJECT_NAME && _version >= 14) {
|
||||
project << "\t<ItemGroup>\n";
|
||||
project << "\t\t<None Include=\"" << setup.srcDir << "/devtools/create_project/scripts/scummvm.natvis\" />\n";
|
||||
project << "\t</ItemGroup>\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue