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-17 13:17:36 +0300 |
commit | c16b9ac74df22e57d6ce69a3140c0fafb4a7ccf4 (patch) | |
tree | 3a62551b0045b58a95d04d19d35b7d12e59b21a0 /datapath-windows | |
parent | e81ed94214d76005d83fcc24a8f83a896645a739 (diff) | |
download | openvswitch-c16b9ac74df22e57d6ce69a3140c0fafb4a7ccf4.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>
Diffstat (limited to 'datapath-windows')
-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> |