mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-29 01:33:46 +00:00
King_DuckZ
1ef879e9c1
This saves having to remember to do STRING(TOUPPER) in every cmake file. At times that's really not convenient if possible at all. For example when a top-level project is guessing what option some subproject is going to use and tries to use it for the builtin options view. The acutal OPTION statement is not there, and it's not nice to put a string(toupper) on a variable that seems to come from nowhere (and in fact it might not be there at all).
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/* 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
|
|
# define CMAKE_on 1
|
|
# define CMAKE_On 1
|
|
# define CMAKE_oN 1
|
|
#endif
|
|
#if !defined(CMAKE_OFF)
|
|
# define CMAKE_OFF 0
|
|
# define CMAKE_OFf 0
|
|
# define CMAKE_OfF 0
|
|
# define CMAKE_Off 0
|
|
# define CMAKE_oFF 0
|
|
# define CMAKE_oFf 0
|
|
# define CMAKE_ofF 0
|
|
# define CMAKE_off 0
|
|
#endif
|
|
|
|
#endif
|