The version string was generated when core/main.cc was rebuilt, which happens on changes in the file itself or in a header file it includes. But, the version should reflect if the Genode repository was changed at any place. Therefore, I moved the version string to its own version.cc which is forcedly rebuilt any time core is examined by the build system. @nfeske what do you think about it? Core is now relinked on any build. Fixes #551.
15 lines
359 B
C++
15 lines
359 B
C++
/*
|
|
* \brief Provide version informaion (core-only)
|
|
* \author Christian Helmuth
|
|
* \date 2014-04-11
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2014 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
namespace Genode { char const *version_string = GENODE_VERSION; }
|