diff --git a/.gitignore b/.gitignore index 81fa4def..6b8036b9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,8 +18,6 @@ Makefile *.cxx version.h config.guess -config.h -config.h.in config.log config.sub config.status @@ -42,7 +40,6 @@ DSView/qrc_DSView.cpp DSView/qrc_style.cpp DSView/qrc_breeze.cpp DSView/qrc_language.cpp -DSView/config.h moc_*.cpp moc_*.cpp_parameters diff --git a/DSView/src/config.h b/DSView/src/config.h new file mode 100644 index 00000000..a377444c --- /dev/null +++ b/DSView/src/config.h @@ -0,0 +1,35 @@ +/* + * This file is part of the PulseView project. + * DSView is based on PulseView. + * + * Copyright (C) 2012 Alexandru Gagniuc + * + * This program 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 2 of the License, or + * (at your option) any later version. + * + * This program 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 this program. If not, see . + */ + +#ifndef _DSVIEW_CONFIG_H +#define _DSVIEW_CONFIG_H + +/* Application details */ +#define DS_TITLE "DSView" +#define DS_DESCRIPTION "A GUI for instruments of DreamSourceLab" +#define DS_BIN_NAME "DSView" + +/* DSView version information */ +#define DS_VERSION_MAJOR 1 +#define DS_VERSION_MINOR 3 +#define DS_VERSION_MICRO 0 +#define DS_VERSION_STRING "1.3.0" + +#endif diff --git a/DSView/src/config.h.in b/DSView/src/config.h.in new file mode 100644 index 00000000..0962573c --- /dev/null +++ b/DSView/src/config.h.in @@ -0,0 +1,35 @@ +/* + * This file is part of the PulseView project. + * DSView is based on PulseView. + * + * Copyright (C) 2012 Alexandru Gagniuc + * + * This program 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 2 of the License, or + * (at your option) any later version. + * + * This program 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 this program. If not, see . + */ + +#ifndef _DSVIEW_CONFIG_H +#define _DSVIEW_CONFIG_H + +/* Application details */ +#define DS_TITLE "@DS_TITLE@" +#define DS_DESCRIPTION "@DS_DESCRIPTION@" +#define DS_BIN_NAME "@PROJECT_NAME@" + +/* DSView version information */ +#define DS_VERSION_MAJOR @DS_VERSION_MAJOR@ +#define DS_VERSION_MINOR @DS_VERSION_MINOR@ +#define DS_VERSION_MICRO @DS_VERSION_MICRO@ +#define DS_VERSION_STRING "@DS_VERSION_STRING@" + +#endif