summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/MSVC
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 07:05:58 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 07:05:58 +0000
commit6b30618d321c3a9521d9fcb1f01b023cbd4acae4 (patch)
tree4ffe0c85f10edfe442faf65babe62cd2b42a3099 /crawl-ref/source/MSVC
parentdd916b6a6dc736d18f47428be0694479714e3dfe (diff)
downloadcrawl-ref-6b30618d321c3a9521d9fcb1f01b023cbd4acae4.tar.gz
crawl-ref-6b30618d321c3a9521d9fcb1f01b023cbd4acae4.zip
Fix some link errors and a few remaining compile warnings (the
ones that aren't bugs) - if static const int foo=VALUE; is in header, don't need to have a definition in a .cc file. The definition goes into every .cc file with "vague linkage" - add sqlite and lua to the sln/vcproj git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3576 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/MSVC')
-rw-r--r--crawl-ref/source/MSVC/crawl-ref.sln3
-rw-r--r--crawl-ref/source/MSVC/crawl-ref.vcproj24
2 files changed, 27 insertions, 0 deletions
diff --git a/crawl-ref/source/MSVC/crawl-ref.sln b/crawl-ref/source/MSVC/crawl-ref.sln
index b7b5e68359..71c70c8d63 100644
--- a/crawl-ref/source/MSVC/crawl-ref.sln
+++ b/crawl-ref/source/MSVC/crawl-ref.sln
@@ -2,6 +2,9 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crawl-ref", "crawl-ref.vcproj", "{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}"
+ ProjectSection(ProjectDependencies) = postProject
+ {A61349B6-4099-4688-AA1A-00D91397857D} = {A61349B6-4099-4688-AA1A-00D91397857D}
+ EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua", "lua.vcproj", "{A61349B6-4099-4688-AA1A-00D91397857D}"
EndProject
diff --git a/crawl-ref/source/MSVC/crawl-ref.vcproj b/crawl-ref/source/MSVC/crawl-ref.vcproj
index 168c25d5d1..7741989eaa 100644
--- a/crawl-ref/source/MSVC/crawl-ref.vcproj
+++ b/crawl-ref/source/MSVC/crawl-ref.vcproj
@@ -48,6 +48,7 @@
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="AppHdr.h"
WarningLevel="3"
+ WarnAsError="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="4"
/>
@@ -123,6 +124,7 @@
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="AppHdr.h"
WarningLevel="3"
+ WarnAsError="true"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
/>
@@ -886,6 +888,28 @@
>
</File>
<File
+ RelativePath="..\util\sqlite\sqlite3.c"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ WarningLevel="0"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ UsePrecompiledHeader="0"
+ WarningLevel="0"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\stash.cc"
>
</File>