gmio/tests/fake_support/main.cpp
Hugues Delorme 36a4fd281e tests: add fake_support
fake_support allows to test compilation of gmio_support
is successful. It provides fake sources of the required
3rd party libraries (Qt and OpenCascade).
Fake sources allows to quickly check if nothing is broken
in gmio_support after API changes.
It will also be useful for CI.
2015-09-02 12:07:17 +02:00

19 lines
337 B
C++

#include "../../src/gmio_stl/stl_io.h"
#include "../../src/gmio_support/stl_occ.h"
#include <QtCore/QFile>
#include "../../src/gmio_support/stream_qt.h"
int main()
{
// OpenCascade
Handle_StlMesh_Mesh stlMesh;
gmio_stl_occmesh_creator(stlMesh);
// Qt
QFile file;
gmio_stream_qiodevice(&file);
return 0;
}