summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2013-12-18 14:55:33 -0500
committerDwight <dwight@10gen.com>2013-12-18 14:56:12 -0500
commit63732d3884573512fb8a906774a7500b3a2405eb (patch)
tree7c52f8b72842cfc6b27c8cbd0e13582d0d07d5d2 /buildscripts
parent63578f4a440f94c9fecf71dcc093e2885dfe18f1 (diff)
downloadmongo-63732d3884573512fb8a906774a7500b3a2405eb.tar.gz
more work on vcxproj generation
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/make_vcxproj.py9
-rw-r--r--buildscripts/vcxproj.header7
2 files changed, 11 insertions, 5 deletions
diff --git a/buildscripts/make_vcxproj.py b/buildscripts/make_vcxproj.py
index 3694e4ea417..0c1ca4b700b 100644
--- a/buildscripts/make_vcxproj.py
+++ b/buildscripts/make_vcxproj.py
@@ -3,11 +3,12 @@
# howto:
# scons --clean
# scons <a_target> > out
-# python buildscripts/make_vcxproj.py < out > out1 && cat buildscripts/vcxproj.header out1 > a_target.vcxproj
+# python buildscripts/make_vcxproj.py TARGET < out > my.vcxproj
#
-# note: the vcxproj.header file currently references "mongod.exe" explicitly rather than being generic.
-# this will be changed soon but gets us started.
-# also, directory paths are such that it is assumed the vcxproj is in the top level project directory.
+# where TARGET is your target e.g., "mongod"
+#
+# note:
+# directory paths are such that it is assumed the vcxproj is in the top level project directory.
# this is easy and likely to change...
#
diff --git a/buildscripts/vcxproj.header b/buildscripts/vcxproj.header
index b104e299eee..f6c47a5fada 100644
--- a/buildscripts/vcxproj.header
+++ b/buildscripts/vcxproj.header
@@ -99,7 +99,10 @@
<ClCompile>
<ObjectFileName>%(RelativeDir)/</ObjectFileName>
<AdditionalIncludeDirectories>src;src\mongo;src\third_party\v8\include;src\third_party\pcre-8.30;src\third_party\boost;src\third_party\snappy;src\third_party\s2;src\third_party\yaml-cpp-0.5.1\include</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;XP_WIN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>NTDDI_VERSION=0x06010000;_WIN32_WINNT=0x0601;WIN32;XP_WIN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <!-- above is temp - NTDDI etc. should be configurable, not finished yet, this gets us compiling some for now.
+ <PreprocessorDefinitions>WIN32;XP_WIN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ -->
<DisableSpecificWarnings>4355;4800;4267;4244;4351</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>No</MinimalRebuild>
@@ -154,6 +157,7 @@
</Link>
</ItemDefinitionGroup>
+<!-- temp commented out, not working yet
<!-- SRW / Windows2008+ -->
<ItemDefinitionGroup Condition="'$(Configuration)'=='Win2008PlusRelease' Or '(Configuration)'=='Win2008PlusDebug'">
<ClCompile>
@@ -167,6 +171,7 @@
<PreprocessorDefinitions>NTDDI_VERSION=0x05020200;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
+-->
<!-- SPECIFICS -->
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">