Commit 7d216a20 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Introducing new version naming

parent b1a9329f
......@@ -43,10 +43,10 @@ vista_use_package( OpenDAFF REQUIRED )
vista_find_package( RavenNet QUIET )
if( NOT DEFINED ITA_VACORE_VERSION_MAJOR )
set( ITA_VACORE_VERSION_MAJOR 1 CACHE INT "VACore version major" )
set( ITA_VACORE_VERSION_MAJOR "v2016" CACHE STRING "VACore version major (usually 'v' and year)" )
endif( NOT DEFINED ITA_VACORE_VERSION_MAJOR )
if( NOT DEFINED ITA_VACORE_VERSION_MINOR )
set( ITA_VACORE_VERSION_MINOR 24 CACHE INT "VACore version minor" )
set( ITA_VACORE_VERSION_MINOR "a" CACHE STRING "VACore version minor (usually a,b,c ...)" )
endif( NOT DEFINED ITA_VACORE_VERSION_MINOR )
# Settings
......@@ -190,8 +190,8 @@ endif( NOT ITA_VA_BUILD_STATIC )
add_definitions( "-DVACORE_DEFAULT_LOG_LEVEL=${ITA_VACORE_DEFAULT_DEBUG_LEVEL}" )
add_definitions( "-DVACORE_VERSION_MAJOR=${ITA_VACORE_VERSION_MAJOR}" )
add_definitions( "-DVACORE_VERSION_MINOR=${ITA_VACORE_VERSION_MINOR}" )
add_definitions( "-DVACORE_VERSION_MAJOR=\"${ITA_VACORE_VERSION_MAJOR}\"" )
add_definitions( "-DVACORE_VERSION_MINOR=\"${ITA_VACORE_VERSION_MINOR}\"" )
if( ${ITA_VACORE_MODULE_INTERFACE_ENABLED} )
add_definitions( "-DVACORE_MODULE_INTERFACE_ENABLED=1" )
......
......@@ -410,9 +410,9 @@ void CVACoreImpl::GetVersionInfo(CVACoreVersionInfo* pVersionInfo) const
pVersionInfo->sFlags = "";
#ifdef DEBUG
pVersionInfo->sComments = "Debug build";
pVersionInfo->sComments = "debug";
#else
pVersionInfo->sComments = "Release build";
pVersionInfo->sComments = "release";
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment