tests.qbs 395 B

123456789101112131415161718
  1. import qbs
  2. Project {
  3. name: "Tests"
  4. /* NOTE: to change this just add "Tests.buildUnitTests:false" or "Tests.buildUnitTests:true" to qbs call */
  5. property bool buildUnitTests: true
  6. references: [
  7. "auto"
  8. ]
  9. SubProject {
  10. filePath: "gtest/gtest.qbs"
  11. Properties {
  12. condition: qbs.targetOS.contains("unix") && buildUnitTests
  13. }
  14. }
  15. }