The GTest framework has a more active support base, and natively supports CMake. Introduce it as an external dependency (using CMake's ExternalProject_Add), replacing cppunit and porting the associated unit tests.
17 lines
281 B
C
17 lines
281 B
C
|
|
|
|
// #ifndef ASSIMP_BUILD_SINGLETHREADED
|
|
// # include <boost/thread.hpp>
|
|
// #endif
|
|
|
|
// We need to be sure to have the same STL settings as Assimp
|
|
#include <AssimpPCH.h>
|
|
#include <assimp/cimport.h>
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
#include <math.h>
|
|
|
|
#undef min
|
|
#undef max
|