Import 2017-06-07 23:51:09: master 2a57053e

Author Committer Branch Timestamp Parent
jcfr jcfr master 2016-06-13 20:12:03 master 417ff0eb
Affected Issues 0002087: Configure "vtkSlicerVersionConfigure.h.in" at build time to ensure it's always up-to-date
Changeset

BUG: Ensure vtkSlicerConfigureVersion header is always up-to-date. Fixes 0002087

Since vtkSlicerVersionConfigure.h was only updated at configure time,
a source code update that wasn't triggering a reconfigured was causing
the content of the header to be out of sync with the current build date
and revision.

This commit adds the target 'SlicerConfigureVersionHeader' ensuring
the version header is always up-to-date.

To ensure the file is generated when first needed, a dependency between
qSlicerBaseQTCore and SlicerConfigureVersionHeader is added.

Co-authored-by: Francois Budin <francois.budin@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25190 3bd1e089-480b-0410-8dfb-8563597acbee

add - CMake/SlicerConfigureVersionHeaderTarget.cmake Diff File
mod - CMakeLists.txt Diff File