put version numbers alone into separate file so other tools can pick it up
This commit is contained in:
35
include/version.h
Normal file
35
include/version.h
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
/*
|
||||||
|
* version.h
|
||||||
|
*
|
||||||
|
* Created on: 21.10.2013
|
||||||
|
* Author: mfro
|
||||||
|
*
|
||||||
|
* * This file is part of BaS_gcc.
|
||||||
|
*
|
||||||
|
* BaS_gcc 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.
|
||||||
|
*
|
||||||
|
* BaS_gcc 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 BaS_gcc. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef VERSION_H_
|
||||||
|
#define VERSION_H_
|
||||||
|
|
||||||
|
/*
|
||||||
|
* increment version number for release
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define MAJOR_VERSION 0
|
||||||
|
#define MINOR_VERSION 8
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* VERSION_H_ */
|
||||||
@@ -35,9 +35,7 @@
|
|||||||
#include "bas_string.h"
|
#include "bas_string.h"
|
||||||
#include "bas_types.h"
|
#include "bas_types.h"
|
||||||
#include "wait.h"
|
#include "wait.h"
|
||||||
|
#include "version.h"
|
||||||
#define MAJOR_VERSION 0
|
|
||||||
#define MINOR_VERSION 8
|
|
||||||
|
|
||||||
#define UNUSED(x) (void)(x) /* Unused variable */
|
#define UNUSED(x) (void)(x) /* Unused variable */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user