CMake/Utilities/KWIML/test/test_include_CXX.cxx
Brad King 12293371ee Merge branch 'upstream-KWIML' into import-kwiml
* upstream-KWIML:
  KWIML 2015-12-09 (43f9f8d0)
2015-12-17 14:56:40 -05:00

23 lines
578 B
C++

/*
Copyright Kitware, Inc.
Distributed under the OSI-approved BSD 3-Clause License.
See accompanying file Copyright.txt for details.
*/
#include <string>
#if defined(_MSC_VER) && defined(NDEBUG)
// Use C++ runtime to avoid linker warning:
// warning LNK4089: all references to 'MSVCP71.dll' discarded by /OPT:REF
std::string test_include_CXX_use_stl_string;
#endif
/* Test KWIML header inclusion after above system headers. */
#include "test.h"
#include "../include/kwiml/abi.h"
#include "../include/kwiml/int.h"
extern "C" int test_include_CXX(void)
{
return 1;
}