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