00001 // -*- mode: c++; indent-tabs-mode: nil; -*- 00002 // 00003 //The Biomolecule Toolkit (BTK) is a C++ library for use in the 00004 //modeling, analysis, and design of biological macromolecules. 00005 //Copyright (C) 2006, Tim Robertson <kid50@users.sourceforge.net> 00006 // 00007 //This program is free software; you can redistribute it and/or modify 00008 //it under the terms of the GNU Lesser General Public License as published 00009 //by the Free Software Foundation; either version 2.1 of the License, or (at 00010 //your option) any later version. 00011 // 00012 //This program is distributed in the hope that it will be useful, but 00013 //WITHOUT ANY WARRANTY; without even the implied warranty of 00014 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 //Lesser General Public License for more details. 00016 // 00017 //You should have received a copy of the GNU Lesser General Public License 00018 //along with this program; if not, write to the Free Software Foundation, 00019 //Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 00022 00023 #ifndef BTK_CORE_BTK_CONFIG_HPP 00024 #define BTK_CORE_BTK_CONFIG_HPP 00025 00092 00093 #include "btk_core_config.h" 00094 00096 // General Debugging (goal: set/unset BTK_NDEBUG) 00098 00099 // By default, follow the unix convention: 00100 // disable all debug code when NDEBUG is defined. 00101 #ifdef NDEBUG 00102 # define BTK_NDEBUG 00103 #else 00104 # undef BTK_NDEBUG 00105 #endif 00106 00107 // Allow the user to explicitly enable BTK debugging 00108 #ifdef BTK_DEBUG 00109 # undef BTK_NDEBUG 00110 #endif 00111 00112 #endif // BTK_CORE_BTK_CONFIG_HPP