2011-06-27 21:58:32 +04:00
|
|
|
/*============================================================================
|
|
|
|
Kitware Information Macro Library
|
|
|
|
Copyright 2010-2011 Kitware, Inc.
|
|
|
|
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
|
|
|
#ifndef KWIML_NAMESPACE
|
|
|
|
# error "Do not include test.h outside of KWIML test files."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KWIML_TEST_H
|
|
|
|
#define KWIML_TEST_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
Define KWIML_HEADER macro to help the test files include kwiml
|
|
|
|
headers from the configured namespace directory. The macro can be
|
|
|
|
used like this:
|
|
|
|
|
|
|
|
#include KWIML_HEADER(ABI.h)
|
|
|
|
*/
|
|
|
|
#define KWIML_HEADER(x) KWIML_HEADER0(KWIML_NAMESPACE/x)
|
|
|
|
#define KWIML_HEADER0(x) KWIML_HEADER1(x)
|
|
|
|
#define KWIML_HEADER1(x) <x>
|
|
|
|
|
|
|
|
/* Quiet MS standard library deprecation warnings. */
|
2011-11-12 16:59:53 +04:00
|
|
|
#ifndef _CRT_SECURE_NO_DEPRECATE
|
|
|
|
# define _CRT_SECURE_NO_DEPRECATE
|
|
|
|
#endif
|
2011-06-27 21:58:32 +04:00
|
|
|
|
|
|
|
#else
|
|
|
|
# error "test.h included multiple times."
|
|
|
|
#endif
|