File: toolset_version.cpp

package info (click to toggle)
mcrl2 201409.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd
  • size: 46,348 kB
  • ctags: 29,960
  • sloc: cpp: 213,160; ansic: 16,219; python: 13,238; yacc: 309; lex: 214; xml: 197; makefile: 83; sh: 82; pascal: 17
file content (25 lines) | stat: -rwxr-xr-x 873 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Author(s): Aad Mathijssen
// Copyright: see the accompanying file COPYING or copy at
// https://svn.win.tue.nl/trac/MCRL2/browser/trunk/COPYING
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
/// \file toolset_version.cpp

/*
 * The MCRL2_VERSION constant is declared in toolset_version_const.h, which
 * is a file generated by the build system. This constant is separated from
 * the declaration of get_toolset_version() so we do not have to recompile
 * the entire toolkit when the version number changes (only 
 * toolset_version.cpp depends on toolset_version_const.h).
 */

#include "mcrl2/utilities/toolset_version.h"
#include "mcrl2/utilities/toolset_version_const.h"

std::string mcrl2::utilities::get_toolset_version()
{
  return MCRL2_VERSION;
}