
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.
19 lines
337 B
C++
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;
|
|
}
|