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