From 5d13538584af11540bb762cd3e877c014436b234 Mon Sep 17 00:00:00 2001 From: s1nka Date: Sun, 2 Apr 2017 13:33:01 +0600 Subject: add CMake build system --- src/version.h | 27 --------------------------- src/version.h.cmake | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 src/version.h create mode 100644 src/version.h.cmake (limited to 'src') diff --git a/src/version.h b/src/version.h deleted file mode 100644 index aa80b51..0000000 --- a/src/version.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - Copyright 2016-2017 StapleButter - - This file is part of melonDS. - - melonDS 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. - - melonDS 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 melonDS. If not, see http://www.gnu.org/licenses/. -*/ - -#ifndef VERSION_H -#define VERSION_H - -#define MELONDS_VERSION "0.1" - -#define MELONDS_URL "http://melonds.kuribo64.net/" - -#endif // VERSION_H - diff --git a/src/version.h.cmake b/src/version.h.cmake new file mode 100644 index 0000000..50656e4 --- /dev/null +++ b/src/version.h.cmake @@ -0,0 +1,27 @@ +/* + Copyright 2016-2017 StapleButter + + This file is part of melonDS. + + melonDS 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. + + melonDS 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 melonDS. If not, see http://www.gnu.org/licenses/. +*/ + +#ifndef VERSION_H +#define VERSION_H + +#define MELONDS_VERSION "@VERSION@" + +#define MELONDS_URL "http://melonds.kuribo64.net/" + +#endif // VERSION_H + -- cgit v1.2.3