Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikayla Hutchinson <m.j.hutchinson@gmail.com>2016-07-26 19:08:14 +0300
committerMikayla Hutchinson <m.j.hutchinson@gmail.com>2016-07-26 19:08:14 +0300
commit02850812ea52f66fc5820f668575dd92da9afbc1 (patch)
treee13ae82cb16a3fd524b83e2d3661686d7ff57763 /main/before.Main.sln.targets
parentbf4ea0cb04a450af3a5ad3bafa278667452675b5 (diff)
Improve default build configuration when invoking xbuild directly
Diffstat (limited to 'main/before.Main.sln.targets')
-rw-r--r--main/before.Main.sln.targets19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/before.Main.sln.targets b/main/before.Main.sln.targets
new file mode 100644
index 0000000000..100a95d8d1
--- /dev/null
+++ b/main/before.Main.sln.targets
@@ -0,0 +1,19 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <!--
+ Ensure that when a configuration is not provided, we use a good default
+ for the current OS.
+ -->
+ <Choose Condition="'$(Configuration)'==''">
+ <When Condition="'$(OS)'!='Unix'">
+ <PropertyGroup>
+ <Configuration>DebugWin32</Configuration>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('/System/Library/Frameworks/CoreFoundation.framework')">
+ <PropertyGroup>
+ <Configuration>DebugMac</Configuration>
+ </PropertyGroup>
+ </When>
+ </Choose>
+</Project>