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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlateralusX <lateralusx.github@gmail.com>2016-04-12 15:15:29 +0300
committerlateralusX <lateralusx.github@gmail.com>2016-06-15 10:40:06 +0300
commit5ffb067e886ff8a01b512744a31ff9ba35f45ccc (patch)
treecf1698e021bac248d0a79349f806b72ad3aa6e6b /msvc/mono.props
parent51870b34bd1810497f2f77c1bc4c960a1fe614f2 (diff)
Added support for optional target build suffix.
Diffstat (limited to 'msvc/mono.props')
-rw-r--r--msvc/mono.props9
1 files changed, 7 insertions, 2 deletions
diff --git a/msvc/mono.props b/msvc/mono.props
index 93ec4fe99c6..72c51fe6ed1 100644
--- a/msvc/mono.props
+++ b/msvc/mono.props
@@ -13,11 +13,16 @@
<Value>$(MONO_USE_SGEN)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
+ <BuildMacro Include="MONO_USE_TARGET_SUFFIX">
+ <Value>$(MONO_USE_TARGET_SUFFIX)</Value>
+ <EnvironmentVariable>true</EnvironmentVariable>
+ </BuildMacro>
</ItemGroup>
<PropertyGroup Label="UserMacros">
<MONO_BUILD_DIR_PREFIX>c:\mono-build\</MONO_BUILD_DIR_PREFIX>
<MONO_INSTALL_DIR_PREFIX>c:\mono-dist\</MONO_INSTALL_DIR_PREFIX>
<MONO_USE_SGEN>true</MONO_USE_SGEN>
+ <MONO_USE_TARGET_SUFFIX>true</MONO_USE_TARGET_SUFFIX>
</PropertyGroup>
<PropertyGroup Label="MonoDirectories">
<top_srcdir>$(MSBuildProjectDirectory)\..</top_srcdir>
@@ -37,14 +42,14 @@
<GC_DEFINES>$(SGEN_DEFINES)</GC_DEFINES>
<GC_LIB>libgcmonosgen.lib</GC_LIB>
<MONO_DEF>monosgen.def</MONO_DEF>
- <MONO_TARGET_SUFFIX>-sgen</MONO_TARGET_SUFFIX>
+ <MONO_TARGET_SUFFIX Condition="'$(MONO_USE_TARGET_SUFFIX)'=='true'">-sgen</MONO_TARGET_SUFFIX>
</PropertyGroup>
<PropertyGroup Label="MonoBOEHM" Condition="$(MONO_USE_SGEN)==false">
<BOEHM_DEFINES>HAVE_BOEHM_GC</BOEHM_DEFINES>
<GC_DEFINES>$(HAVE_BOEHM_GC)</GC_DEFINES>
<GC_LIB>libgc.lib</GC_LIB>
<MONO_DEF>mono.def</MONO_DEF>
- <MONO_TARGET_SUFFIX>-boehm</MONO_TARGET_SUFFIX>
+ <MONO_TARGET_SUFFIX Condition="'$(MONO_USE_TARGET_SUFFIX)'=='true'">-boehm</MONO_TARGET_SUFFIX>
</PropertyGroup>
<PropertyGroup Label="MonoProfiler">
<VTUNE_INCLUDE_DIR>$(ProgramFiles)\Intel\VTune Amplifier XE 2013\include</VTUNE_INCLUDE_DIR>