khanat-opennel-code/code/nel/samples/3d/nel_qt/nel_qt_config.h
2010-05-06 02:08:41 +02:00

117 lines
2.7 KiB
C

/**
* Compiler configuration for NEL QT
* $Id: nel_qt_config.h 2247 2010-02-15 21:16:38Z kaetemi $
* \file nel_qt_config.h
* \brief CNeLQtConfig
* \date 2010-02-05 15:51GMT
* \author Jan Boon (Kaetemi)
*/
/*
* Copyright (C) 2010 by authors
*
* This file is part of NEL QT.
* NEL QT 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.
*
* NEL QT 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 NEL QT; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef NLQT_NEL_QT_CONFIG_H
#define NLQT_NEL_QT_CONFIG_H
#include <nel/misc/types_nl.h>
// use the default log.log file (not erased on use)
// #define NLQT_USE_LOG_LOG false
// the config file name
// #define NLQT_CONFIG_FILE "nel_qt.cfg"
// #define NLQT_CONFIG_FILE_DEFAULT "nel_qt_default.cfg"
// use nel_qt log file
// #define NLQT_USE_LOG 1
// nel_qt log file name
#define NLQT_LOG_FILE "nel_qt.log"
// clear nel_qt log before use
#define NLQT_ERASE_LOG true
// version number
#define NLQT_VERSION "0.8.0.2247"
// use the low fragmentation heap (windows feature)
// #define NLQT_LOW_FRAGMENTATION_HEAP 1
// temporary dev tags
//#define NL_DEV_STEREO 0
//#define NL_DEV_MEMLEAK 1
//#define NL_DEV_NET 0
//#define NL_DEV_NETNEW 1
//#define NL_DEV_CG 0
//#define NL_DEV_BULLET 0
// some default defines
#if FINAL_VERSION
# if !defined(NLQT_USE_LOG_LOG)
# define NLQT_USE_LOG_LOG false
# endif
# if !defined(NLQT_USE_LOG)
# define NLQT_USE_LOG 0
# endif
#endif
#if !defined (NLQT_USE_LOG_LOG)
# define NLQT_USE_LOG_LOG true
#endif
#if !defined (NLQT_USE_LOG)
# define NLQT_USE_LOG 1
#endif
#if !defined (NLQT_LOW_FRAGMENTATION_HEAP)
# ifdef NL_OS_WINDOWS
# define NLQT_LOW_FRAGMENTATION_HEAP 1
# else
# define NLQT_LOW_FRAGMENTATION_HEAP 0
# endif
#endif
// for compatibility with old configuration
#ifndef NLQT_CONFIG_FILE
# ifndef NEL_QT_CONFIG
# define NLQT_CONFIG_FILE "nel_qt.cfg"
# else
# define NLQT_CONFIG_FILE NEL_QT_CONFIG "nel_qt.cfg"
# endif
#endif
#ifndef NLQT_CONFIG_FILE_DEFAULT
# define NLQT_CONFIG_FILE_DEFAULT "nel_qt_default.cfg"
#endif
#endif /* #ifndef NLQT_NEL_QT_CONFIG_H */
/* end of file */