view libinterp/build-info.in.cc @ 21600:184b85b31e03

more updates for version function * toplev.cc (F__octave_config_info__): New fields, build_time, fftw_version. * oct-fftw.cc, oct-fftw.h (octave_fftw_version): New function. * version.m: New option "-fftw". Fix release_date in tests * module.mk (libinterp/build-info.cc): Update rule. * build-info.h, build-info.in.cc (octave_build_date): Delete. (octave_build_time): Return Unix time instead of local clock time.
author mmuetzel <markus.muetzel@gmx.de>
date Sun, 10 Apr 2016 15:33:43 -0400
parents cf552443c104
children e6f76c393ad7
line wrap: on
line source

// %NO_EDIT_WARNING%
/*

Copyright (C) 2016 M. Muetzel

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

#ifdef HAVE_CONFIG_H
#  include "config.h"
#endif

#include "build-info.h"

std::string
octave_hg_id (void)
{
  return "%OCTAVE_HG_ID%";
}

time_t
octave_build_time (void)
{
  return %OCTAVE_BUILD_TIME%;
}