diff options
Diffstat (limited to 'plugins/python/python3.vcxproj')
-rw-r--r-- | plugins/python/python3.vcxproj | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/plugins/python/python3.vcxproj b/plugins/python/python3.vcxproj index 815dc8b1..5868d3b0 100644 --- a/plugins/python/python3.vcxproj +++ b/plugins/python/python3.vcxproj @@ -37,6 +37,9 @@ <AdditionalDependencies>"$(Python3Lib).lib";$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies> <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(Python3Path)\libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> </Link> + <PreBuildEvent> + <Command>"$(Python3Path)\python.exe" generate_plugin.py ..\..\src\common\hexchat-plugin.h python.py "$(IntDir)python.c"</Command> + </PreBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> @@ -48,12 +51,20 @@ <AdditionalDependencies>"$(Python3Lib).lib";$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies> <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(Python3Path)\libs;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> </Link> + <PreBuildEvent> + <Command>"$(Python3Path)\python.exe" generate_plugin.py ..\..\src\common\hexchat-plugin.h python.py "$(IntDir)python.c"</Command> + </PreBuildEvent> </ItemDefinitionGroup> <ItemGroup> + <None Include="generate_plugin.py" /> + <None Include="hexchat.py" /> <None Include="python.def" /> + <None Include="python.py" /> + <None Include="xchat.py" /> + <None Include="_hexchat.py" /> </ItemGroup> <ItemGroup> - <ClCompile Include="python.c" /> + <ClCompile Include="$(IntDir)python.c" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -</Project> +</Project> \ No newline at end of file |