-// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
# define LAUNCHER_EXPORT
#endif
+#if defined(_DEBUG_) || defined(_DEBUG)
+//#define LAUNCHER_DEGBUG
+#endif
+
// MESSAGES
#define LAUNCHER_MESS_INIT(deb) std::cerr << deb
#define LAUNCHER_MESS_BEGIN(deb) LAUNCHER_MESS_INIT(deb)<<__FILE__ <<" ["<<__LINE__<<"] : "
#define LAUNCHER_MESS_END std::endl;
#define LAUNCHER_INFOS(msg) {LAUNCHER_MESS_BEGIN("- Trace ") << msg << LAUNCHER_MESS_END}
-#if defined(_DEBUG_) || defined(_DEBUG)
+#if defined(LAUNCHER_DEGBUG)
#define LAUNCHER_MESSAGE(msg) {LAUNCHER_MESS_BEGIN("- Trace ") << msg << LAUNCHER_MESS_END}
-#else /* ifdef _DEBUG_*/
+#else /* ifdef LAUNCHER_DEGBUG*/
#define LAUNCHER_MESSAGE(msg) {}
-#endif /* ifdef _DEBUG_*/
+#endif /* ifdef LAUNCHER_DEGBUG*/
class LAUNCHER_EXPORT LauncherException
{