summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-06-10 07:52:15 +0200
committerBerke Viktor <berkeviktor@aol.com>2012-06-10 07:52:15 +0200
commiteaa673182255fb261c91cab7c0ff16f7952b529a (patch)
tree87151529011894aebec6e5196b3abb7b3ba118d2 /src/common
parent9f7f85fa5dba59951a6d24e4721875a4bc2db18c (diff)
Migrate VS solution to VS2010+WDK7
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common.vcxproj116
-rw-r--r--src/common/common.vcxproj.filters194
-rw-r--r--src/common/util.c2
3 files changed, 311 insertions, 1 deletions
diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
new file mode 100644
index 00000000..f0a730b7
--- /dev/null
+++ b/src/common/common.vcxproj
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="utf-8"?>

+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

+  <ItemGroup Label="ProjectConfigurations">

+    <ProjectConfiguration Include="Release|Win32">

+      <Configuration>Release</Configuration>

+      <Platform>Win32</Platform>

+    </ProjectConfiguration>

+  </ItemGroup>

+  <ItemGroup>

+    <ClInclude Include="..\..\config.h" />

+    <ClInclude Include="cfgfiles.h" />

+    <ClInclude Include="chanopt.h" />

+    <ClInclude Include="ctcp.h" />

+    <ClInclude Include="dcc.h" />

+    <ClInclude Include="fe.h" />

+    <ClInclude Include="history.h" />

+    <ClInclude Include="identd.h" />

+    <ClInclude Include="ignore.h" />

+    <ClInclude Include="inbound.h" />

+    <ClInclude Include="inet.h" />

+    <ClInclude Include="modes.h" />

+    <ClInclude Include="msproxy.h" />

+    <ClInclude Include="network.h" />

+    <ClInclude Include="notify.h" />

+    <ClInclude Include="outbound.h" />

+    <ClInclude Include="plugin-timer.h" />

+    <ClInclude Include="plugin.h" />

+    <ClInclude Include="proto-irc.h" />

+    <ClInclude Include="server.h" />

+    <ClInclude Include="servlist.h" />

+    <ClInclude Include="ssl.h" />

+    <ClInclude Include="text.h" />

+    <ClInclude Include="textenums.h" />

+    <ClInclude Include="textevents.h" />

+    <ClInclude Include="thread.h" />

+    <ClInclude Include="tree.h" />

+    <ClInclude Include="url.h" />

+    <ClInclude Include="userlist.h" />

+    <ClInclude Include="util.h" />

+    <ClInclude Include="xchat-plugin.h" />

+    <ClInclude Include="xchat.h" />

+    <ClInclude Include="xchatc.h" />

+  </ItemGroup>

+  <ItemGroup>

+    <ClCompile Include="cfgfiles.c" />

+    <ClCompile Include="chanopt.c" />

+    <ClCompile Include="ctcp.c" />

+    <ClCompile Include="dcc.c" />

+    <ClCompile Include="history.c" />

+    <ClCompile Include="identd.c" />

+    <ClCompile Include="ignore.c" />

+    <ClCompile Include="inbound.c" />

+    <ClCompile Include="modes.c" />

+    <ClCompile Include="msproxy.c" />

+    <ClCompile Include="network.c" />

+    <ClCompile Include="notify.c" />

+    <ClCompile Include="outbound.c" />

+    <ClCompile Include="plugin-timer.c" />

+    <ClCompile Include="plugin.c" />

+    <ClCompile Include="proto-irc.c" />

+    <ClCompile Include="server.c" />

+    <ClCompile Include="servlist.c" />

+    <ClCompile Include="ssl.c" />

+    <ClCompile Include="text.c" />

+    <ClCompile Include="thread.c" />

+    <ClCompile Include="tree.c" />

+    <ClCompile Include="url.c" />

+    <ClCompile Include="userlist.c" />

+    <ClCompile Include="util.c" />

+    <ClCompile Include="xchat.c" />

+  </ItemGroup>

+  <PropertyGroup Label="Globals">

+    <ProjectGuid>{87554B59-006C-4D94-9714-897B27067BA3}</ProjectGuid>

+    <Keyword>Win32Proj</Keyword>

+    <RootNamespace>common</RootNamespace>

+  </PropertyGroup>

+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">

+    <ConfigurationType>StaticLibrary</ConfigurationType>

+    <UseDebugLibraries>false</UseDebugLibraries>

+    <WholeProgramOptimization>true</WholeProgramOptimization>

+    <CharacterSet>MultiByte</CharacterSet>

+    <PlatformToolset>WDK7</PlatformToolset>

+  </PropertyGroup>

+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+  <ImportGroup Label="ExtensionSettings">

+  </ImportGroup>

+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />

+    <Import Project="..\..\win32\xchat.props" />

+  </ImportGroup>

+  <PropertyGroup Label="UserMacros" />

+  <PropertyGroup />

+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

+    <ClCompile>

+      <WarningLevel>Level1</WarningLevel>

+      <PrecompiledHeader>

+      </PrecompiledHeader>

+      <Optimization>MaxSpeed</Optimization>

+      <FunctionLevelLinking>true</FunctionLevelLinking>

+      <IntrinsicFunctions>true</IntrinsicFunctions>

+      <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>

+      <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>

+      <MultiProcessorCompilation>true</MultiProcessorCompilation>

+    </ClCompile>

+    <Link>

+      <SubSystem>Windows</SubSystem>

+      <GenerateDebugInformation>true</GenerateDebugInformation>

+      <EnableCOMDATFolding>true</EnableCOMDATFolding>

+      <OptimizeReferences>true</OptimizeReferences>

+    </Link>

+  </ItemDefinitionGroup>

+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

+  <ImportGroup Label="ExtensionTargets">

+  </ImportGroup>

+</Project>
\ No newline at end of file
diff --git a/src/common/common.vcxproj.filters b/src/common/common.vcxproj.filters
new file mode 100644
index 00000000..afb66e63
--- /dev/null
+++ b/src/common/common.vcxproj.filters
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>

+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

+  <ItemGroup>

+    <Filter Include="Source Files">

+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>

+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>

+    </Filter>

+    <Filter Include="Header Files">

+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>

+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>

+    </Filter>

+  </ItemGroup>

+  <ItemGroup>

+    <ClInclude Include="cfgfiles.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="chanopt.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="ctcp.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="dcc.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="fe.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="history.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="identd.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="ignore.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="inbound.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="inet.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="modes.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="msproxy.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="network.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="notify.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="outbound.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="plugin.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="plugin-timer.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="proto-irc.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="server.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="servlist.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="ssl.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="text.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="textenums.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="textevents.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="thread.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="tree.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="url.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="userlist.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="util.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="xchat.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="xchatc.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="xchat-plugin.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+    <ClInclude Include="..\..\config.h">

+      <Filter>Header Files</Filter>

+    </ClInclude>

+  </ItemGroup>

+  <ItemGroup>

+    <ClCompile Include="cfgfiles.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="chanopt.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="ctcp.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="dcc.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="history.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="identd.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="ignore.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="inbound.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="modes.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="msproxy.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="network.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="notify.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="outbound.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="plugin.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="plugin-timer.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="proto-irc.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="server.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="servlist.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="ssl.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="text.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="thread.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="tree.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="url.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="userlist.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="util.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+    <ClCompile Include="xchat.c">

+      <Filter>Source Files</Filter>

+    </ClCompile>

+  </ItemGroup>

+</Project>
\ No newline at end of file
diff --git a/src/common/util.c b/src/common/util.c
index a79e343b..73e1b29a 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -32,7 +32,7 @@
 #include <sys/timeb.h>
 #include <process.h>
 #include <io.h>
-#include "../dirent-win32/dirent-win32.h"
+#include "../dirent/dirent-win32.h"
 #else
 #include <unistd.h>
 #include <pwd.h>