summaryrefslogtreecommitdiff
path: root/win2008plus.props
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2011-12-28 10:40:03 -0500
committerEric Milkie <milkie@10gen.com>2011-12-28 10:40:03 -0500
commita50d66fc045b1206eecd4655b02b7925fd39e9f9 (patch)
tree0ca7b97aa8beb29483b10d1e3d7524275222754a /win2008plus.props
parentf8cae7cad1468ca7c1a4a9ad3f3d6dfddfa21aa5 (diff)
downloadmongo-a50d66fc045b1206eecd4655b02b7925fd39e9f9.tar.gz
add support for building Win2008Plus with Visual Studio
I added a property sheet (win2008plus.props), which is now inherited by the new Configurations "Win2008PlusRelease" and "Win2008PlusDebug". All it does right now is add MONGO_USE_SRW_ON_WINDOWS preprocessor variable. I added the property sheet to the "mongod" and "test" project Win2008Plus configurations only. If we add other capabilities to Win2008plus in the future, all you need to do is modify the property sheet.
Diffstat (limited to 'win2008plus.props')
-rw-r--r--win2008plus.props12
1 files changed, 12 insertions, 0 deletions
diff --git a/win2008plus.props b/win2008plus.props
new file mode 100644
index 00000000000..ceb701dd819
--- /dev/null
+++ b/win2008plus.props
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ImportGroup Label="PropertySheets" />
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup />
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>MONGO_USE_SRW_ON_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup />
+</Project> \ No newline at end of file