変愚蛮怒のメインリポジトリです
Revision | 1542cce68adef25f847e6fbeb2154874b81f9b88 (tree) |
---|---|
Time | 2017-08-17 23:47:04 |
Author | Deskull <desull@user...> |
Commiter | Deskull |
#37337 libxmlのライブラリ参照追加。xmlダンプ出力実装開始。 / Add library reference of libxml. Implementing XML dump.
@@ -60,8 +60,8 @@ | ||
60 | 60 | <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir> |
61 | 61 | </PropertyGroup> |
62 | 62 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
63 | - <IncludePath>..\..\libxml2\include;..\..\iconv\include;$(IncludePath)</IncludePath> | |
64 | - <LibraryPath>..\..\libxml2\lib;..\..\iconv\lib;$(LibraryPath)</LibraryPath> | |
63 | + <IncludePath>..\..\libxml2-2.9.3\include;$(IncludePath)</IncludePath> | |
64 | + <LibraryPath>..\..\libxml2-2.9.3\win32\bin.msvc;$(LibraryPath)</LibraryPath> | |
65 | 65 | </PropertyGroup> |
66 | 66 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
67 | 67 | <ClCompile> |
@@ -76,7 +76,7 @@ | ||
76 | 76 | <DisableSpecificWarnings>4127;4996;4244;4820;%(DisableSpecificWarnings)</DisableSpecificWarnings> |
77 | 77 | </ClCompile> |
78 | 78 | <Link> |
79 | - <AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies);libxml2.a;</AdditionalDependencies> | |
79 | + <AdditionalDependencies>winmm.lib;wsock32.lib;%(AdditionalDependencies);libxml2.lib;</AdditionalDependencies> | |
80 | 80 | <GenerateDebugInformation>true</GenerateDebugInformation> |
81 | 81 | <TargetMachine>MachineX86</TargetMachine> |
82 | 82 | <ShowProgress>LinkVerbose</ShowProgress> |
@@ -0,0 +1,22 @@ | ||
1 | +/*! | |
2 | +* @file xmlfiles.c | |
3 | +* @brief xml/html出力管理 / Purpose: xml/html output | |
4 | +* @date 2014/01/28 | |
5 | +* @author | |
6 | +* <pre> | |
7 | +* 2017 Deskull\n | |
8 | +* </pre> | |
9 | +*/ | |
10 | + | |
11 | +#include "angband.h" | |
12 | + | |
13 | +#include <libxml/encoding.h> | |
14 | +#include <libxml/xmlwriter.h> | |
15 | + | |
16 | +void dumpPlayerXml(void) | |
17 | +{ | |
18 | + xmlTextWriterPtr writer; | |
19 | + | |
20 | + writer = xmlNewTextWriterFilename("test.xml", 0); | |
21 | + xmlFreeTextWriter(writer); | |
22 | +} |
@@ -0,0 +1 @@ | ||
1 | +void dumpPlayerXml(void); |