mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
MSVC: Fix natvis not being added to project in VS2017
This commit is contained in:
parent
f6c37b09ea
commit
5004c331c9
@ -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…
Reference in New Issue
Block a user