gtest.qbs 443 B

12345678910111213141516171819202122232425
  1. import qbs
  2. Project {
  3. name: "GTest"
  4. property bool runUnitTests: true
  5. references: [
  6. "gtest",
  7. "tests",
  8. ]
  9. AutotestRunner {
  10. condition: runUnitTests && qbs.targetOS.contains("unix")
  11. Properties {
  12. condition: qbs.targetOS.contains("macx")
  13. /* TODO: if needed, add "install_name_tool" usage */
  14. }
  15. Depends {
  16. name: "Google-Test"
  17. }
  18. }
  19. }