summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/MSVC
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 06:31:01 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 06:31:01 +0000
commit8a737d409cea505589f5b67fab49f138265a8174 (patch)
treedf38e20bb1eed6abd6c3603094e109aec11fa96e /crawl-ref/source/MSVC
parent70b1954c4daae8ee3f364481d0bc245a81720513 (diff)
downloadcrawl-ref-8a737d409cea505589f5b67fab49f138265a8174.tar.gz
crawl-ref-8a737d409cea505589f5b67fab49f138265a8174.zip
Another batch of msvc compile fixes.
Added wrapper implementation for opendir/readdir Other functions left stubbed out. It's a shame that crawl's "direct.h" conflicts with <direct.h>. Fixed up use of AppHdr.h in a couple places (it must be included first); changed project to use precompiled headers. crawl now compiles cleanly but doesn't link. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3573 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/MSVC')
-rw-r--r--crawl-ref/source/MSVC/crawl-ref.vcproj112
1 files changed, 69 insertions, 43 deletions
diff --git a/crawl-ref/source/MSVC/crawl-ref.vcproj b/crawl-ref/source/MSVC/crawl-ref.vcproj
index 332f3c27a7..168c25d5d1 100644
--- a/crawl-ref/source/MSVC/crawl-ref.vcproj
+++ b/crawl-ref/source/MSVC/crawl-ref.vcproj
@@ -20,7 +20,7 @@
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
- CharacterSet="1"
+ CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
@@ -45,7 +45,8 @@
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
- UsePrecompiledHeader="0"
+ UsePrecompiledHeader="2"
+ PrecompiledHeaderThrough="AppHdr.h"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
@@ -119,7 +120,8 @@
AdditionalIncludeDirectories="util/lua/src"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="2"
- UsePrecompiledHeader="0"
+ UsePrecompiledHeader="2"
+ PrecompiledHeaderThrough="AppHdr.h"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
@@ -190,6 +192,22 @@
<File
RelativePath="..\acr.cc"
>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="1"
+ />
+ </FileConfiguration>
</File>
<File
RelativePath="..\AppHdr.h"
@@ -254,6 +272,22 @@
<File
RelativePath="..\database.cc"
>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
</File>
<File
RelativePath="..\database.h"
@@ -400,14 +434,6 @@
>
</File>
<File
- RelativePath="..\insult.cc"
- >
- </File>
- <File
- RelativePath="..\insult.h"
- >
- </File>
- <File
RelativePath="..\invent.cc"
>
</File>
@@ -480,30 +506,6 @@
>
</File>
<File
- RelativePath="..\libdos.cc"
- >
- </File>
- <File
- RelativePath="..\libdos.h"
- >
- </File>
- <File
- RelativePath="..\libgui.cc"
- >
- </File>
- <File
- RelativePath="..\libgui.h"
- >
- </File>
- <File
- RelativePath="..\libunix.cc"
- >
- </File>
- <File
- RelativePath="..\libunix.h"
- >
- </File>
- <File
RelativePath="..\libutil.cc"
>
</File>
@@ -514,20 +516,28 @@
<File
RelativePath="..\libw32c.cc"
>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="2"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="2"
+ />
+ </FileConfiguration>
</File>
<File
RelativePath="..\libw32c.h"
>
</File>
<File
- RelativePath="..\libwt.cc"
- >
- </File>
- <File
- RelativePath="..\libx11.cc"
- >
- </File>
- <File
RelativePath="..\luadgn.cc"
>
</File>
@@ -670,6 +680,22 @@
<File
RelativePath="..\mt19937ar.cc"
>
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ />
+ </FileConfiguration>
</File>
<File
RelativePath="..\mt19937ar.h"