view libinterp/build-info.h @ 21605:e6f76c393ad7

don't store build time in source file (bug #45659) * build-info.h, build-info.in.cc (octave_build_time): Delete function. * toplev.cc (F__octave_config_info__): Remove build_time field from struct. * libinterp/module.mk (libinterp/build-info.cc): Don't substitute build time.
author John W. Eaton <jwe@octave.org>
date Mon, 11 Apr 2016 11:36:27 -0400
parents 184b85b31e03
children ec01be3b8f5d
line wrap: on
line source

/*

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/>.

*/

#include <ctime>

#include <string>

extern OCTAVE_API std::string octave_hg_id (void);