2012-06-10 14:49:17 +04:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2013-09-13 20:49:19 +04:00
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2013-04-26 08:03:03 +04:00
|
|
|
|
<PropertyGroup Label="Configuration">
|
2020-04-12 10:32:31 +03:00
|
|
|
|
<PlatformToolset>v142</PlatformToolset>
|
2015-02-11 21:01:29 +03:00
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
2013-04-26 08:03:03 +04:00
|
|
|
|
</PropertyGroup>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-06-16 00:36:29 +04:00
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Label="Globals">
|
2013-04-02 01:21:41 +04:00
|
|
|
|
<ProjectGuid>{D90BC3E3-1341-4849-9354-5F40489D39D1}</ProjectGuid>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
2014-05-28 20:22:19 +04:00
|
|
|
|
<RootNamespace>perl520</RootNamespace>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
2015-02-11 21:01:29 +03:00
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
<Import Project="..\..\win32\hexchat.props" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<TargetName>hcperl</TargetName>
|
|
|
|
|
<OutDir>$(HexChatRel)plugins\</OutDir>
|
2012-06-16 00:36:29 +04:00
|
|
|
|
</PropertyGroup>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<ClCompile>
|
2016-01-31 06:57:12 +03:00
|
|
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PERL520_EXPORTS;HAS_BOOL;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-02-11 21:01:29 +03:00
|
|
|
|
<AdditionalIncludeDirectories>$(IntDir);..\..\src\common;$(HexChatLib);$(PerlPath)\lib\CORE;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
2015-02-11 21:01:29 +03:00
|
|
|
|
<AdditionalLibraryDirectories>$(IntDir);$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
2014-12-28 14:08:20 +03:00
|
|
|
|
<AdditionalDependencies>$(PerlLib).lib;$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
<ModuleDefinitionFile>perl.def</ModuleDefinitionFile>
|
2013-04-13 04:26:26 +04:00
|
|
|
|
<DelayLoadDLLs>$(PerlLib).dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</Link>
|
|
|
|
|
<PreBuildEvent>
|
2013-04-13 04:26:26 +04:00
|
|
|
|
<Command>"$(GendefPath)\gendef" "$(PerlPath)\bin\$(PerlLib).dll"
|
|
|
|
|
move $(PerlLib).def "$(IntDir)"
|
2015-02-11 21:01:29 +03:00
|
|
|
|
lib /nologo /machine:x86 "/def:$(IntDir)$(PerlLib).def" "/out:$(IntDir)\$(PerlLib).lib"
|
2013-04-13 04:26:26 +04:00
|
|
|
|
"$(PerlPath)\bin\perl.exe" generate_header
|
2012-06-15 23:37:48 +04:00
|
|
|
|
move irc.pm.h "$(IntDir)"
|
2013-10-02 18:47:56 +04:00
|
|
|
|
move hexchat.pm.h "$(IntDir)"</Command>
|
2012-06-16 00:36:29 +04:00
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
|
<ClCompile>
|
2016-01-31 06:57:12 +03:00
|
|
|
|
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;PERL520_EXPORTS;HAS_BOOL;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-02-11 21:01:29 +03:00
|
|
|
|
<AdditionalIncludeDirectories>$(IntDir);..\..\src\common;$(HexChatLib);$(PerlPath)\lib\CORE;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2012-06-16 00:36:29 +04:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
2015-02-11 21:01:29 +03:00
|
|
|
|
<AdditionalLibraryDirectories>$(IntDir);$(DepsRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
2014-12-28 14:08:20 +03:00
|
|
|
|
<AdditionalDependencies>$(PerlLib).lib;$(DepLibs);%(AdditionalDependencies)</AdditionalDependencies>
|
2012-06-16 00:36:29 +04:00
|
|
|
|
<ModuleDefinitionFile>perl.def</ModuleDefinitionFile>
|
2013-04-13 04:26:26 +04:00
|
|
|
|
<DelayLoadDLLs>$(PerlLib).dll;%(DelayLoadDLLs)</DelayLoadDLLs>
|
2012-06-16 00:36:29 +04:00
|
|
|
|
</Link>
|
|
|
|
|
<PreBuildEvent>
|
2013-04-13 04:26:26 +04:00
|
|
|
|
<Command>"$(GendefPath)\gendef" "$(PerlPath)\bin\$(PerlLib).dll"
|
|
|
|
|
move $(PerlLib).def "$(IntDir)"
|
2015-02-11 21:01:29 +03:00
|
|
|
|
lib /nologo /machine:x64 "/def:$(IntDir)$(PerlLib).def" "/out:$(IntDir)\$(PerlLib).lib"
|
2013-04-13 04:26:26 +04:00
|
|
|
|
"$(PerlPath)\bin\perl.exe" generate_header
|
2012-06-16 00:36:29 +04:00
|
|
|
|
move irc.pm.h "$(IntDir)"
|
2013-10-02 18:47:56 +04:00
|
|
|
|
move hexchat.pm.h "$(IntDir)"</Command>
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
2013-04-02 01:21:41 +04:00
|
|
|
|
<None Include="perl.def" />
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2013-04-02 01:21:41 +04:00
|
|
|
|
<ClCompile Include="perl.c" />
|
2012-06-10 14:49:17 +04:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
2014-12-28 14:08:20 +03:00
|
|
|
|
</Project>
|