exports.cpp 579 B

123456789101112131415161718
  1. // Copyright (C) 2008-2012 Colin MacDonald
  2. // No rights reserved: this software is in the public domain.
  3. #include "testUtils.h"
  4. //! Tests that symbols exported from Irrlicht can be used by the user app.
  5. bool exports(void)
  6. {
  7. logTestString("Checking whether IdentityMatrix is exported.\n");
  8. irr::core::matrix4 identity = irr::core::IdentityMatrix;
  9. (void)identity; // Satisfy the compiler that it's used.
  10. irr::video::SMaterial id = irr::video::IdentityMaterial;
  11. (void)id; // Satisfy the compiler that it's used.
  12. // If it built, we're done.
  13. return true;
  14. }