diff options
| author | ruki <[email protected]> | 2023-02-13 20:05:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-13 20:05:33 +0800 |
| commit | 7fd2cec12bf091a8695fa50009e7399447f4622d (patch) | |
| tree | 6ac4617b76e565b2575f294302e1e29593869c1a | |
| parent | 33de9d524b7fcd1b6a66035d9c3f8a48ee200406 (diff) | |
| parent | 48a436251e3e5b0c8369f9a4d0c021ce7f79b062 (diff) | |
Merge pull request #3362 from shaqtsui/dev
vsxmake generator support RC definition & include
| -rw-r--r-- | xmake/plugins/project/vsxmake/vsproj/Xmake.props | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/plugins/project/vsxmake/vsproj/Xmake.props b/xmake/plugins/project/vsxmake/vsproj/Xmake.props index 6b2e9da34..dbdf25453 100644 --- a/xmake/plugins/project/vsxmake/vsproj/Xmake.props +++ b/xmake/plugins/project/vsxmake/vsproj/Xmake.props @@ -126,6 +126,11 @@ <SubSystem Condition="'%(SubSystem)' == '' And $(XmakeSubSystem.Contains('console'))">Console</SubSystem> <SubSystem Condition="'%(SubSystem)' == '' And $(XmakeSubSystem.Contains('windows'))">Windows</SubSystem> </Link> + + <ResourceCompile> + <PreprocessorDefinitions>%(PreprocessorDefinitions);$(XmakeDefines)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(XmakeIncludeDirs)</AdditionalIncludeDirectories> + </ResourceCompile> </ItemDefinitionGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
