further reduce # instance of version defintions

This commit is contained in:
Zhou Wang 2017-04-12 10:31:59 +02:00
Родитель 39c7738173
Коммит 071367f8cb
5 изменённых файлов: 12 добавлений и 14 удалений

Просмотреть файл

@ -27,7 +27,7 @@
<HasSwig Condition="Exists('$(SWIG_PATH)\swig.exe')">true</HasSwig>
<CntkComponentVersion>2.0rc1</CntkComponentVersion>
<CntkComponentVersion Condition="$(DebugBuild)">2.0rc1d</CntkComponentVersion>
<CntkComponentVersion Condition="$(DebugBuild)">$(CntkComponentVersion)d</CntkComponentVersion>
</PropertyGroup>
</Project>

Просмотреть файл

@ -269,11 +269,9 @@ ORIGINDIR:='$$ORIGIN'
# Components VERSION info
########################################
ifeq ("$(BUILDTYPE)","release")
CNTK_COMPONENT_VERSION=2.0rc1
endif
CNTK_COMPONENT_VERSION := 2.0rc1
ifeq ("$(BUILDTYPE)","debug")
CNTK_COMPONENT_VERSION=2.0rc1d
CNTK_COMPONENT_VERSION := $(CNTK_COMPONENT_VERSION)d
endif
CPPFLAGS += -DCNTK_COMPONENT_VERSION="$(CNTK_COMPONENT_VERSION)"

Просмотреть файл

@ -22,11 +22,11 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<!-- Explicitly defines the version of the depenent assemblies to avoid build errors or stale binaries -->
<!-- The change of CNTK_COMPONENT_VERSION in CNTK.Common.props cannot be populated correctly without restarting VS -->
<!-- Explicitly defines the version of the dependent assemblies to avoid build errors or stale binaries. -->
<!-- The change of CntkComponentVersion in CNTK.Common.props cannot be populated correctly without restarting VS and cleaning solution. -->
<PropertyGroup>
<CntkCsAssemblyVersion>2.0rc1</CntkCsAssemblyVersion>
<CntkCsAssemblyVersion Condition="$(DebugBuild)">2.0rc1d</CntkCsAssemblyVersion>
<CntkCsAssemblyVersion Condition="$(DebugBuild)">$(CntkCsAssemblyVersion)d</CntkCsAssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="$(DebugBuild)">
<DebugSymbols>true</DebugSymbols>

Просмотреть файл

@ -22,11 +22,11 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<!-- Explicitly defines the version of the depenent assemblies to avoid build errors or stale binaries -->
<!-- The change of CNTK_COMPONENT_VERSION in CNTK.Common.props cannot be populated correctly without restarting VS -->
<!-- Explicitly defines the version of the dependent assemblies to avoid build errors or stale binaries -->
<!-- The change of CntkComponentVersion in CNTK.Common.props cannot be populated correctly without restarting VS and cleaning solution. -->
<PropertyGroup>
<CntkCsAssemblyVersion>2.0rc1</CntkCsAssemblyVersion>
<CntkCsAssemblyVersion Condition="$(DebugBuild)">2.0rc1d</CntkCsAssemblyVersion>
<CntkCsAssemblyVersion Condition="$(DebugBuild)">$(CntkCsAssemblyVersion)d</CntkCsAssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>

Просмотреть файл

@ -27,11 +27,11 @@
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
</PropertyGroup>
<!-- Explicitly defines the version of the depenent assemblies to avoid build errors or stale binaries -->
<!-- The change of CNTK_COMPONENT_VERSION in CNTK.Common.props cannot be populated correctly without restarting VS -->
<!-- Explicitly defines the version of the dependent assemblies to avoid build errors or stale binaries -->
<!-- The change of CntkComponentVersion in CNTK.Common.props cannot be populated correctly without restarting VS and cleaning solution. -->
<PropertyGroup>
<CntkCsAssemblyVersion>2.0rc1</CntkCsAssemblyVersion>
<CntkCsAssemblyVersion Condition="$(DebugBuild)">2.0rc1d</CntkCsAssemblyVersion>
<CntkCsAssemblyVersion Condition="$(DebugBuild)">$(CntkCsAssemblyVersion)d</CntkCsAssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>