Merge branch 'remove_compile_order_check' into 'master'
Remove compile order check See merge request OpenMesh/OpenMesh!273
This commit is contained in:
@@ -51,23 +51,6 @@
|
||||
// -------------------- system settings
|
||||
#include <OpenMesh/Core/System/config.h>
|
||||
|
||||
// -------------------- check include order
|
||||
#if defined (OPENMESH_TRIMESH_ARRAY_KERNEL_HH) || \
|
||||
defined (OPENMESH_POLYMESH_ARRAY_KERNEL_HH)
|
||||
|
||||
// Issue warning if MeshIO was not included before Mesh Type
|
||||
// Nobody knows why this order was enforced.
|
||||
// If somebody encounters an error resulting from a wrong order, please report it to the OpenMesh developers.
|
||||
// If we don't here about any errors, this check will be removed
|
||||
// @TODO: Remove after reasonable time
|
||||
#ifdef WIN32
|
||||
#pragma message("MeshIO.hh was included after Mesh Type. You may ignore this warning. Please report errors resulting ifrom this order to the developers!")
|
||||
#else
|
||||
#warning "MeshIO.hh was included after Mesh Type. You may ignore this warning. Please report errors resulting from this order to the developers!"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
// -------------------- OpenMesh
|
||||
#include <OpenMesh/Core/IO/SR_store.hh>
|
||||
#include <OpenMesh/Core/IO/IOManager.hh>
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
#define INCLUDE_UNITTESTS_COMMON_HH
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <OpenMesh/Core/IO/MeshIO.hh>
|
||||
|
||||
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
|
||||
#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
|
||||
|
||||
#include <OpenMesh/Core/IO/MeshIO.hh>
|
||||
|
||||
#ifdef TEST_CUSTOM_TRAITS
|
||||
#include <Unittests/unittests_common_customtraits.hh>
|
||||
#elif defined(TEST_DOUBLE_TRAITS)
|
||||
|
||||
Reference in New Issue
Block a user