summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-30 22:27:46 +0800
committerGitHub <[email protected]>2022-05-30 22:27:46 +0800
commit4c4c0c945be1fa76af7d90f46d85fb514a55b6d9 (patch)
tree99d54d21e7b6c6237254398211b922e7bf8ebab6
parent84b9cec88fb56eba8c143ee6728caa6654f56df0 (diff)
parentdf6f9891aeac3d918e1d18550e4465268bc4da55 (diff)
Merge pull request #2404 from SirLynix/patch-11
vsxmake: Move include directories to AdditionalIncludeDirectories
-rw-r--r--xmake/plugins/project/vsxmake/vsproj/Xmake.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/vsproj/Xmake.props b/xmake/plugins/project/vsxmake/vsproj/Xmake.props
index ba13741a4..a7faaa1ad 100644
--- a/xmake/plugins/project/vsxmake/vsproj/Xmake.props
+++ b/xmake/plugins/project/vsxmake/vsproj/Xmake.props
@@ -99,6 +99,7 @@
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);$(XmakeDefines)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>$(XmakeIncludeDirs)</AdditionalIncludeDirectories>
<LanguageStandard Condition="'%(LanguageStandard)' == '' And $(XmakeLanguages.Contains('cxx11'))">stdcpp11</LanguageStandard>
<LanguageStandard Condition="'%(LanguageStandard)' == '' And $(XmakeLanguages.Contains('cxx14'))">stdcpp14</LanguageStandard>
<LanguageStandard Condition="'%(LanguageStandard)' == '' And $(XmakeLanguages.Contains('cxx17'))">stdcpp17</LanguageStandard>
@@ -148,7 +149,6 @@
</PropertyGroup>
<PropertyGroup Label="Path">
- <IncludePath>$(XmakeIncludeDirs);$(IncludePath)</IncludePath>
<LibraryPath>$(XmakeLinkDirs);$(LibraryPath)</LibraryPath>
<OutDir>$(XmakeTargetDir)\</OutDir>
<IntDir>$(XmakeBuilDir)\.vs\$(TargetName)\$(XmakeArch)\$(XmakeMode)\</IntDir>