1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-02-17 11:45:50 +00:00

Put definitions for CMAKE_[ON/OFF] in a common header.

This commit is contained in:
King_DuckZ 2016-04-27 01:18:38 +02:00
parent 81e5a829ad
commit 72ce72273d
3 changed files with 30 additions and 12 deletions

View file

@ -0,0 +1,28 @@
/* Copyright 2015, 2016, Michele Santullo
* This file is part of "dindexer".
*
* "dindexer" 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.
*
* "dindexer" 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 "dindexer". If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef id9B6B373E88404330ADEE51A4EC861787
#define id9B6B373E88404330ADEE51A4EC861787
#if !defined(CMAKE_ON)
# define CMAKE_ON 1
#endif
#if !defined(CMAKE_OFF)
# define CMAKE_OFF 0
#endif
#endif

View file

@ -18,12 +18,7 @@
#ifndef id32A00B72E29D463795CBF66517387E8D
#define id32A00B72E29D463795CBF66517387E8D
#if !defined(CMAKE_ON)
# define CMAKE_ON 1
#endif
#if !defined(CMAKE_OFF)
# define CMAKE_OFF 0
#endif
#include "dindexer-common/cmake_on_off.h"
#if CMAKE_@DINDEXER_WITH_NICE_MEDIA_TYPES@
# define WITH_NICE_MEDIA_TYPES

View file

@ -18,12 +18,7 @@
#ifndef id4A9E94ACFA43498097637025A5BA69E5
#define id4A9E94ACFA43498097637025A5BA69E5
#if !defined(CMAKE_ON)
# define CMAKE_ON 1
#endif
#if !defined(CMAKE_OFF)
# define CMAKE_OFF 0
#endif
#include "dindexer-common/cmake_on_off.h"
#if CMAKE_@DINDEXER_WITH_BUILD_DATE@
# define DINDEXER_BUILD_DATE "@DINDEXER_BUILD_DATE@"