box2d-static.pri 698 B

123456789101112131415161718192021222324252627282930313233
  1. # Include this file in your .pro file to statically compile the Box2D QML
  2. # bindings into your project.
  3. #
  4. # Basic usage instructions:
  5. #
  6. # #include <box2dplugin.h>
  7. #
  8. # int main(int argc, char *argv[])
  9. # {
  10. # QApplication app(argc, argv);
  11. #
  12. # Box2DPlugin plugin;
  13. # plugin.registerTypes("Box2D");
  14. #
  15. # ...
  16. # }
  17. INCLUDEPATH += $$PWD
  18. include(Box2D/box2d.pri)
  19. SOURCES += $$PWD/box2dplugin.cpp \
  20. $$PWD/box2dworld.cpp \
  21. $$PWD/box2dbody.cpp \
  22. $$PWD/box2dfixture.cpp \
  23. $$PWD/box2ddebugdraw.cpp
  24. HEADERS += \
  25. $$PWD/box2dplugin.h \
  26. $$PWD/box2dworld.h \
  27. $$PWD/box2dbody.h \
  28. $$PWD/box2dfixture.h \
  29. $$PWD/box2ddebugdraw.h