Add include directories for the MIDL compiler
visual_studio generator: Add include directories for the MIDL compiler, so that it can find and use *.idl files (use the same directories as normal header includes)
@@ -29,6 +29,9 @@ class VisualStudioGenerator(Generator):
<AdditionalDependencies>{libs}%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>{linker_flags} %(AdditionalOptions)</AdditionalOptions>
</Link>
+ <Midl>
+ <AdditionalIncludeDirectories>{include_dirs}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </Midl>
</ItemDefinitionGroup>
<ItemGroup />
</Project>'''
