diff options
author | Alin Gabriel Serdean <aserdean@ovn.org> | 2021-06-15 16:43:08 +0300 |
---|---|---|
committer | Alin Gabriel Serdean <aserdean@ovn.org> | 2021-06-30 18:45:37 +0300 |
commit | 15251f0e1d93258a489e81266aa995d5c9607d96 (patch) | |
tree | 039db7af36b76726f199cf233e05eef815c2abab | |
parent | 9f05167b211d959fd2e7fcc55b480d2dcf452f64 (diff) | |
download | openvswitch-15251f0e1d93258a489e81266aa995d5c9607d96.tar.gz |
datapath-windows: Specify external include paths
VStudio 16.10 adds usermode includes before including the driver kit ones.
Bug tracked at:
https://developercommunity.visualstudio.com/t/error-lnk2019-unresolved-external-symbol-stdio-com/1434674
Fixes appveyor build reported by forcing external includes.
Reported-by: Ilya Maximets <i.maximets@ovn.org>
Reported-by: Frank Wagner <frank.wagner@dbosoft.eu>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/209#issuecomment-861385852
Reported-at: https://github.com/openvswitch/ovs-issues/issues/211
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r-- | datapath-windows/ovsext/ovsext.vcxproj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/ovsext.vcxproj b/datapath-windows/ovsext/ovsext.vcxproj index d50a126b4..18f884f41 100644 --- a/datapath-windows/ovsext/ovsext.vcxproj +++ b/datapath-windows/ovsext/ovsext.vcxproj @@ -192,22 +192,39 @@ </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Release|x64'"> <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug|x64'"> <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Analyze|x64'"> <Inf2CatUseLocalTime>true</Inf2CatUseLocalTime> <CodeAnalysisRuleSet>..\misc\DriverRecommendedRules.ruleset</CodeAnalysisRuleSet> <RunCodeAnalysis>true</RunCodeAnalysis> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1Analyze|x64'"> <RunCodeAnalysis>true</RunCodeAnalysis> <CodeAnalysisRuleSet>..\misc\DriverRecommendedRules.ruleset</CodeAnalysisRuleSet> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8Analyze|x64'"> <RunCodeAnalysis>true</RunCodeAnalysis> <CodeAnalysisRuleSet>..\misc\DriverRecommendedRules.ruleset</CodeAnalysisRuleSet> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'"> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'"> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'"> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'"> + <ExternalIncludePath>$(CRT_IncludePath);$(KM_IncludePath);</ExternalIncludePath> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'"> <ClCompile> |