Hi Matt,

You are good, I did not find this e-mail. :)

BlueBerry will store the settings in a folder named after the version
number, so if it changes, it will just create a new dir, and won't try to
touch the old one.

In my app there are these lines in the CMakeLists of the project root dir:

set(${PROJECT_NAME}_VERSION_MAJOR "0")
set(${PROJECT_NAME}_VERSION_MINOR "1")
set(${PROJECT_NAME}_VERSION_PATCH "3")
set(${PROJECT_NAME}_VERSION_STRING
"${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}")

The main thing is that the project version string changes. The NifTK
version string does not contain a patch number.

The CMAKE_VERSION_MAJOR is set by CMake itself, and you can use it to force
the use of a recent CMake, it is not to change.

Miklos

On Mon, Jun 25, 2012 at 7:47 AM, Clarkson, Matt <[email protected]>wrote:

> Good morning,
>
> When the CTK version used by MITK changes, I have noticed that if CTK has
> changed significantly, we often need to ask users to manually clear the
> plugin cache.
>
> Miklos has mentioned something about changing the version number, which
> should then automatically sort this out.
> http://article.gmane.org/gmane.comp.lib.mitk.user/2782/match=miklos+espak
>
> But what variable should that be?  Does it have to be CMAKE_VERSION_MAJOR,
> CMAKE_VERSION_MINOR, CMAKE_VERSION_PATCH
> or can it be?  <APP_NAME>_VERSION_MAJOR etc.
>
> Thanks
>
> Matt
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to